toPascalKebabCase property

String get toPascalKebabCase

Converts the string to Pascal-Kebab-Case. Example: "helloWorld" => "Hello-World"

Implementation

String get toPascalKebabCase =>
    toWords.map((word) => word.capitalizeFirstLowerRest).join('-');