toUpperCaseFirstCharacter method

String toUpperCaseFirstCharacter()

Converts the first character of this string to upper-case.

For example 'hello'.toUpperCaseFirstCharacter() returns 'Hello'.

Implementation

String toUpperCaseFirstCharacter() =>
    convertFirstCharacters((value) => value.toUpperCase());