kebab property

String kebab

Returns this converted to kebab-case, where words are seperated by a hyphen.

Examples:

'simple'   -> 'simple',
'twoWords' -> 'two-words'
'FirstBig' -> 'first-big'

Whitespace is not considered or affected.

Implementation

String get kebab => _fixCase('-');