mirror of
https://git.selfprivacy.org/kherel/selfprivacy.org.app.git
synced 2024-11-07 17:33:12 +00:00
5 lines
128 B
Dart
5 lines
128 B
Dart
|
extension StringExtension on String {
|
||
|
String capitalize() =>
|
||
|
'${this[0].toUpperCase()}${substring(1).toLowerCase()}';
|
||
|
}
|