mirror of
https://github.com/foss42/apidash.git
synced 2025-06-13 08:59:21 +08:00
6 lines
136 B
Dart
6 lines
136 B
Dart
extension StringExtension on String {
|
|
String capitalize() {
|
|
return "${this[0].toUpperCase()}${substring(1).toLowerCase()}";
|
|
}
|
|
}
|