kebabCaseValues<K> method
Kebab case all values in the map. Returns a new map with kebab cased values.
Implementation
Map<K, String> kebabCaseValues<K>() {
final map = <K, String>{};
for (final key in keys) {
map[key as K] = this[key].toString().toKebabCase();
}
return map;
}