encodeIterable<E> method
Encodes an iterable of E
.
Optionally takes an Encodable function to encode each element.
Implementation
@override
void encodeIterable<E>(Iterable<E> value, {Encodable<E>? using}) {
final encoder = CsvRowEncoder._(writer, keys);
for (final item in value) {
encoder.encodeObject(item, using: using);
}
}