encodeMap<K, V> method
void
encodeMap<K, V>(})
override
Encodes a map of K
and V
for the given key or id.
Optionally takes Encodable functions to encode each key and value.
Implementation
@override
void encodeMap<K, V>(String key, Map<K, V> value, {int? id, Encodable<K>? keyUsing, Encodable<V>? valueUsing}) {
_value[key] = _encodeMap(value, keyUsing, valueUsing);
}