encodeMap<K, V> method
void
encodeMap<K, V>(})
override
Encodes a map of K
and V
.
Optionally takes Encodable functions to encode each key and value.
Implementation
@override
void encodeMap<K, V>(Map<K, V> value, {Encodable<K>? keyUsing, Encodable<V>? valueUsing}) {
throw CodableException.unsupportedMethod('CsvValueEncoder', 'encodeMap',
reason: 'The csv format does not support nested maps.');
}