capitalizeFirst property
String
capitalizeFirst
Uppercase first letter inside string and let the others lowercase
Example: your name => Your name
Implementation
String get capitalizeFirst =>
"${this[0].toUpperCase()}${substring(1).toLowerCase()}";