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