toPascalCase method

String toPascalCase()

Converts the string to PascalCase.

Implementation

String toPascalCase() =>
    _extractLowercaseComponents().map((e) => e.capitalize()).join();