kebabCase method
Converts a string to kebab-case
Implementation
String kebabCase() =>
this.words().mapIndex((word, index) => word!.lowerCase()).join("-");
Converts a string to kebab-case
String kebabCase() =>
this.words().mapIndex((word, index) => word!.lowerCase()).join("-");