toPascalCase method

String toPascalCase()

Converts to a string denoted in the same fashion as camel but with the first letter capitalized

example:

'hello_world' -> 'HelloWorld'

Implementation

String toPascalCase() => _fixCase(ChangeCaseType.pascal);