capitalize property
String
capitalize
Returns first letter of the string as Caps eg -> Flutter
Implementation
String get capitalize => length > 1
? '${this[0].toUpperCase()}${substring(1).toLowerCase()}'
: this;