toKebabCase property
String
get
toKebabCase
Implementation
String get toKebabCase => trim().isEmpty
? ''
: trim().toLowerCase().replaceAll(RegExp(r'[\s_]+'), '-');
String get toKebabCase => trim().isEmpty
? ''
: trim().toLowerCase().replaceAll(RegExp(r'[\s_]+'), '-');