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 extension

getter/setter pair
close Future<void> Function()

Available on WritableStreamDefaultWriter<W>, provided by the WritableStreamDefaultWriter$Typings extension

getter/setter pair
closed Future<void>

Available on WritableStreamDefaultWriter<W>, provided by the WritableStreamDefaultWriter$Typings extension

no setter
desiredSize num?

Available on WritableStreamDefaultWriter<W>, provided by the WritableStreamDefaultWriter$Typings extension

no setter
hashCode int
The hash code for this object.
no setterinherited
ready Future<void>

Available on WritableStreamDefaultWriter<W>, provided by the WritableStreamDefaultWriter$Typings extension

no setter
releaseLock ↔ void Function()

Available on WritableStreamDefaultWriter<W>, provided by the WritableStreamDefaultWriter$Typings extension

getter/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 extension

getter/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