mirror of
https://github.com/immich-app/immich.git
synced 2024-11-17 19:08:49 -07:00
6 lines
147 B
Dart
6 lines
147 B
Dart
extension StringExtension on String {
|
|
String capitalizeFirstLetter() {
|
|
return "${this[0].toUpperCase()}${substring(1).toLowerCase()}";
|
|
}
|
|
}
|