readMap<V> method

Map<String, V> readMap<V>(
  1. String json, [
  2. TypeInfo<V>? value
])

Returns a Map<String, V> read from the JSON object json; value describes a generic value type.

Implementation

Map<String, V> readMap<V>(String json, [TypeInfo<V>? value]) => readValue(
  json,
  MapType<String, V>(const ClassType<String>(), value ?? _classType<V>()),
);