encodeIterable<E> method

  1. @override
void encodeIterable<E>(
  1. Iterable<E> value, {
  2. Encodable<E>? using,
})
override

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}) {
  throw CodableException.unsupportedMethod('CsvEncoder', 'encodeIterable',
      reason: 'Row-level encoding only supports encodeKeyed() and encodeMapped().');
}