WritableStreamDefaultWriter<W> class
This Streams API interface is the object returned by WritableStream.getWriter() and once created locks the < writer to the WritableStream ensuring that no other streams can write to the underlying sink.
- Available extensions
- Annotations
-
- @JS()
- @staticInterop
Constructors
-
WritableStreamDefaultWriter(WritableStream<
W> stream) -
factory
Properties
-
abort
↔ Future<
void> Function([dynamic]) -
Available on WritableStreamDefaultWriter<
W> , provided by the WritableStreamDefaultWriter$Typings extensiongetter/setter pair -
close
↔ Future<
void> Function() -
Available on WritableStreamDefaultWriter<
W> , provided by the WritableStreamDefaultWriter$Typings extensiongetter/setter pair -
closed
→ Future<
void> -
Available on WritableStreamDefaultWriter<
W> , provided by the WritableStreamDefaultWriter$Typings extensionno setter - desiredSize → num?
-
Available on WritableStreamDefaultWriter<
W> , provided by the WritableStreamDefaultWriter$Typings extensionno setter - hashCode → int
-
The hash code for this object.
no setterinherited
-
ready
→ Future<
void> -
Available on WritableStreamDefaultWriter<
W> , provided by the WritableStreamDefaultWriter$Typings extensionno setter - releaseLock ↔ void Function()
-
Available on WritableStreamDefaultWriter<
W> , provided by the WritableStreamDefaultWriter$Typings extensiongetter/setter pair - runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
-
write
↔ Future<
void> Function(W) -
Available on WritableStreamDefaultWriter<
W> , provided by the WritableStreamDefaultWriter$Typings extensiongetter/setter pair
Methods
-
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