WritableStreamDefaultWriterExtensions extension

on

Properties

closed Future<void>
Returns a promise that will be fulfilled when the stream becomes closed, or rejected if the stream ever errors or the reader’s lock is released before the stream finishes closing.
no setter
desiredSize double?
Gets the desired size.
no setter
ready Future<void>
Await until the stream is ready.
no setter

Methods

abort([Object? reason]) Future<void>
close() Future<void>
Closes the writer.
releaseLock() → void
Release Lock.
write(Uint8List chunk) Future<void>
Writes a chunk.