Transformer<I, O> constructor
Transformer<I, O> ({
- TransformStreamDefaultControllerCallback? flush,
- dynamic readableType,
- TransformStreamDefaultControllerCallback? start,
- TransformStreamDefaultControllerTransformCallback? transform,
- Future<
void> cancel([- dynamic
- 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,
);