toKebabCase property

String get toKebabCase

'Hello World' / 'helloWorld''hello-world'

Implementation

String get toKebabCase => _words.map((w) => w.toLowerCase()).join('-');