JsonlMappedBatchDecoder<T> constructor

const JsonlMappedBatchDecoder<T>(
  1. T? fromJson(
    1. dynamic
    ), {
  2. bool ignoreExceptions = false,
  3. Codec<Object?, String> jsonCodec = const JsonCodec(),
  4. void onBatch(
    1. List<T> batch
    )?,
  5. void onDone()?,
})

Implementation

const JsonlMappedBatchDecoder(
  this.fromJson, {
  this.ignoreExceptions = false,
  this.jsonCodec = const JsonCodec(),
  this.onBatch,
  this.onDone,
});