decodeMapOrNull<K, V> abstract method

Map<K, V>? decodeMapOrNull<K, V>({
  1. Decodable<K>? keyUsing,
  2. Decodable<V>? valueUsing,
})

Decodes the data as a nullable map of key-value pairs.

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

Implementation

Map<K, V>? decodeMapOrNull<K, V>({Decodable<K>? keyUsing, Decodable<V>? valueUsing});