toCapitalize method

String toCapitalize()

Implementation

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