WritableStream class

Experimental: This is an experimental technologyCheck the Browser compatibility table carefully before using this in production. The interface of the Streams API provides a standard abstraction for writing streaming data to a destination, known as a sink. This object comes with built-in backpressure and queuing.

Implementers
Available extensions
Annotations
  • @experimental
  • @JS()
  • @staticInterop

Constructors

WritableStream([dynamic underlyingSink, QueuingStrategy? strategy])
factory

Properties

hashCode int
The hash code for this object.
no setterinherited
locked bool

Available on WritableStream, provided by the PropsWritableStream extension

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

Methods

abort([dynamic reason]) Future<void>

Available on WritableStream, provided by the PropsWritableStream extension

close() Future<void>

Available on WritableStream, provided by the PropsWritableStream extension

getWriter() WritableStreamDefaultWriter

Available on WritableStream, provided by the PropsWritableStream extension

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