WritableStreamDefaultWriter class

Experimental: This is an experimental technologyCheck the Browser compatibility table carefully before using this in production. The interface of the Streams API 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
  • @experimental
  • @JS()
  • @staticInterop

Constructors

WritableStreamDefaultWriter(WritableStream stream)
factory

Properties

closed Future<void>

Available on WritableStreamDefaultWriter, provided by the PropsWritableStreamDefaultWriter extension

no setter
desiredSize → dynamic

Available on WritableStreamDefaultWriter, provided by the PropsWritableStreamDefaultWriter extension

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

Available on WritableStreamDefaultWriter, provided by the PropsWritableStreamDefaultWriter extension

no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

abort([dynamic reason]) Future<void>

Available on WritableStreamDefaultWriter, provided by the PropsWritableStreamDefaultWriter extension

close() Future<void>

Available on WritableStreamDefaultWriter, provided by the PropsWritableStreamDefaultWriter extension

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
releaseLock() → void

Available on WritableStreamDefaultWriter, provided by the PropsWritableStreamDefaultWriter extension

toString() String
A string representation of this object.
inherited
write([dynamic chunk]) Future<void>

Available on WritableStreamDefaultWriter, provided by the PropsWritableStreamDefaultWriter extension

Operators

operator ==(Object other) bool
The equality operator.
inherited