toKebabCase method
Converts string to kebab-case.
Example: "Edit Item" → "edit-item"
Implementation
String toKebabCase() {
return _splitWords().join('-').toLowerCase();
}
Converts string to kebab-case.
Example: "Edit Item" → "edit-item"
String toKebabCase() {
return _splitWords().join('-').toLowerCase();
}