IMap<K, V>.fromJson constructor
Converts from JSon. Json serialization support for json_serializable with @JsonSerializable.
Implementation
factory IMap.fromJson(
Map<String, Object?> json,
K Function(Object?) fromJsonK,
V Function(Object?) fromJsonV,
) =>
json.map<K, V>((key, value) => MapEntry(fromJsonK(key), fromJsonV(value))).lock;