ReadableStreamDefaultController extension type

The ReadableStreamDefaultController 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.

on
Implemented types

Properties

desiredSize num?
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
The close() method of the ReadableStreamDefaultController interface closes the associated stream.
enqueue([JSAny? chunk]) → void
The enqueue() method of the ReadableStreamDefaultController interface enqueues a given chunk in the associated stream.
error([JSAny? e]) → void
The error() method of the ReadableStreamDefaultController interface causes any future interactions with the associated stream to error.
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