CaseInsensitiveMap<K extends String?, T>.of constructor
CaseInsensitiveMap<K extends String?, T>.of (
- Map<
K, T> other
Implementation
factory CaseInsensitiveMap.of(Map<K, T> other) {
final map = CaseInsensitiveMap<K, T>();
other.forEach((key, value) {
map[key] = value;
});
return map;
}