hcToCapitalized method

String hcToCapitalized()

Word Capitalized

Implementation

String hcToCapitalized() =>
    length > 0 ? '${this[0].toUpperCase()}${substring(1).toLowerCase()}' : '';