capitalizeFirst method

String capitalizeFirst()

Implementation

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