decodeMap<K, V> abstract method

Map<K, V> decodeMap<K, V>(
  1. String key, {
  2. int? id,
  3. Decodable<K>? keyUsing,
  4. Decodable<V>? valueUsing,
})

Decodes the data for the given key or id as a map of key-value pairs.

Optionally takes Decodables to decode the keys and values of the map.

Implementation

Map<K, V> decodeMap<K, V>(String key, {int? id, Decodable<K>? keyUsing, Decodable<V>? valueUsing});