Transformer<I, O> constructor

Transformer<I, O>({
  1. TransformerFlushCallback? flush,
  2. dynamic readableType,
  3. TransformerStartCallback? start,
  4. TransformerTransformCallback? transform,
  5. dynamic writableType,
})

Implementation

factory Transformer({
  _i3.TransformerFlushCallback<_i2.dynamic>? flush,
  _i2.dynamic readableType,
  _i3.TransformerStartCallback<_i2.dynamic>? start,
  _i3.TransformerTransformCallback<_i2.dynamic, _i2.dynamic>? transform,
  _i2.dynamic writableType,
}) =>
    Transformer._(
      flush: flush ?? _i6.undefined,
      readableType: readableType,
      start: start ?? _i6.undefined,
      transform: transform ?? _i6.undefined,
      writableType: writableType,
    );