toKebabCase method

String toKebabCase()

Converts to kebab-case.

Implementation

String toKebabCase() => _wordParts(this).join('-');