firstCapitalize method

String firstCapitalize ()

Implementation

String firstCapitalize() {
  return '${this[0].toUpperCase()}${substring(1)}';
}