toKebabCase property
String
get
toKebabCase
'Hello World' / 'helloWorld' → 'hello-world'
Implementation
String get toKebabCase => _words.map((w) => w.toLowerCase()).join('-');
'Hello World' / 'helloWorld' → 'hello-world'
String get toKebabCase => _words.map((w) => w.toLowerCase()).join('-');