capitalize method
String initial uppercase
Implementation
String capitalize() =>
length > 1 ? this[0].toUpperCase() + substring(1) : toUpperCase();
String initial uppercase
String capitalize() =>
length > 1 ? this[0].toUpperCase() + substring(1) : toUpperCase();