TransformStreamDefaultController class

The interface of the Streams API provides methods to manipulate the associated ReadableStream and WritableStream. When constructing a TransformStream, the is created. It therefore has no constructor. The way to get an instance of is via the callback methods of TransformStream.TransformStream().

Available extensions
Annotations
  • @JS()
  • @staticInterop

Constructors

TransformStreamDefaultController()
factory

Properties

desiredSize → dynamic

Available on TransformStreamDefaultController, provided by the PropsTransformStreamDefaultController extension

no setter
hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

enqueue([dynamic chunk]) → void

Available on TransformStreamDefaultController, provided by the PropsTransformStreamDefaultController extension

error([dynamic reason]) → void

Available on TransformStreamDefaultController, provided by the PropsTransformStreamDefaultController extension

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
terminate() → void

Available on TransformStreamDefaultController, provided by the PropsTransformStreamDefaultController extension

toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited