ReadableStreamDefaultController class

The interface of the Streams API represents a controller allowing control of a ReadableStream's state and internal queue. Default controllers are for streams that are not byte streams.

Available extensions
Annotations
  • @JS()
  • @staticInterop

Constructors

ReadableStreamDefaultController()
factory

Properties

desiredSize → dynamic

Available on ReadableStreamDefaultController, provided by the PropsReadableStreamDefaultController 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

close() → void

Available on ReadableStreamDefaultController, provided by the PropsReadableStreamDefaultController extension

enqueue([dynamic chunk]) → void

Available on ReadableStreamDefaultController, provided by the PropsReadableStreamDefaultController extension

error([dynamic e]) → void

Available on ReadableStreamDefaultController, provided by the PropsReadableStreamDefaultController extension

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

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