ReadableStreamDefaultReader class
The interface of the Streams API represents a default reader that can be used to read stream data supplied from a network (e.g. a fetch request).
- Implemented types
- Available extensions
- Annotations
-
- @JS()
- @staticInterop
Constructors
- ReadableStreamDefaultReader(ReadableStream stream)
-
factory
Properties
-
closed
→ Future<
void> -
Available on ReadableStreamGenericReader, provided by the PropsReadableStreamGenericReader 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
-
cancel(
[dynamic reason]) → Future< void> -
Available on ReadableStreamGenericReader, provided by the PropsReadableStreamGenericReader extension
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
read(
) → Future< ReadableStreamReadResult> -
Available on ReadableStreamDefaultReader, provided by the PropsReadableStreamDefaultReader extension
-
releaseLock(
) → void -
Available on ReadableStreamDefaultReader, provided by the PropsReadableStreamDefaultReader extension
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited