firstUpperCased property
String
get
firstUpperCased
Capitalizes the first letter.
E.g. someText -> SomeText
Implementation
String get firstUpperCased =>
length > 0 ? '${this[0].toUpperCase()}${substring(1)}' : '';