capitalizeFirstLetter method

dynamic capitalizeFirstLetter()

Implementation

capitalizeFirstLetter() {
  return substring(0, 1).toUpperCase() + substring(1).toLowerCase();
}