1
0
mirror of https://github.com/git-touch/git-touch synced 2024-12-24 06:42:07 +01:00
git-touch-android-ios-app/lib/utils/extensions.dart
2019-12-15 00:08:12 +08:00

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);
}
}