toPascalSnakeCase property

String get toPascalSnakeCase

Converts the string to Pascal_Snake_Case. Example: "helloWorld" => "Hello_World"

Implementation

String get toPascalSnakeCase =>
    toWords.map((word) => word.capitalizeFirstLowerRest).join('_');