toPascalCase method
Converts the string to PascalCase. Example: 'hello world' -> 'HelloWorld'
Implementation
String toPascalCase() =>
_extractComponents().map((e) => e.capitalize()).join();
Converts the string to PascalCase. Example: 'hello world' -> 'HelloWorld'
String toPascalCase() =>
_extractComponents().map((e) => e.capitalize()).join();