mirror of
https://github.com/git-touch/git-touch
synced 2024-12-20 20:13:55 +01:00
14 lines
237 B
Dart
14 lines
237 B
Dart
extension MyString<T extends String> on String {
|
|
int get toInt {
|
|
return int.parse(this);
|
|
}
|
|
|
|
String get urlencode {
|
|
return Uri.encodeComponent(this);
|
|
}
|
|
|
|
String get urldecode {
|
|
return Uri.decodeComponent(this);
|
|
}
|
|
}
|