Transformer<I, O> constructor

Transformer<I, O>({
  1. TransformStreamDefaultControllerCallback? flush,
  2. dynamic readableType,
  3. TransformStreamDefaultControllerCallback? start,
  4. TransformStreamDefaultControllerTransformCallback? transform,
  5. Future<void> cancel([
    1. dynamic
    ])?,
  6. dynamic writableType,
})

Implementation

factory Transformer({
  _i3.TransformStreamDefaultControllerCallback<_i2.dynamic>? flush,
  _i2.dynamic readableType,
  _i3.TransformStreamDefaultControllerCallback<_i2.dynamic>? start,
  _i3.TransformStreamDefaultControllerTransformCallback<_i2.dynamic,
          _i2.dynamic>?
      transform,
  _i2.Future<void> Function([_i2.dynamic])? cancel,
  _i2.dynamic writableType,
}) =>
    Transformer._(
      flush: flush ?? _i6.undefined,
      readableType: readableType,
      start: start ?? _i6.undefined,
      transform: transform ?? _i6.undefined,
      cancel: cancel == null ? null : _i4.allowInterop(cancel),
      writableType: writableType,
    );