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.

MDN Reference

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

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

MDN Reference
no setter
desiredSize num?

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

MDN Reference
no setter
hashCode int
The hash code for this object.
no setterinherited
ready Future

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

MDN Reference
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