capitalizeFirst method

String capitalizeFirst()

Implementation

String capitalizeFirst() => this[0].toUpperCase() + substring(1).toLowerCase();