toKebabCase property
String
get
toKebabCase
Converts to kebab-case.
Implementation
String get toKebabCase =>
trim().replaceAll(RegExp(r'\s+'), '-').toLowerCase();
Converts to kebab-case.
String get toKebabCase =>
trim().replaceAll(RegExp(r'\s+'), '-').toLowerCase();