toScreamingKebabCase property

String get toScreamingKebabCase

Converts the string to SCREAMING-KEBAB-CASE (COBOL-CASE). Example: "helloWorld" => "HELLO-WORLD"

Implementation

String get toScreamingKebabCase => toWords.join('-').toUpperCase();