camelCaseValues<K> method

Map<K, String> camelCaseValues<K>()

Camel case all values in the map. Returns a new map with camel cased values.

Implementation

Map<K, String> camelCaseValues<K>() {
  final map = <K, String>{};
  for (final key in keys) {
    map[key as K] = this[key].toString().toCamelCase();
  }
  return map;
}