FileSystemWritableFileStream class

Secure context: This feature is available only in secure contexts (HTTPS), in some or all supporting browsers. The interface of the File System Access API is a WritableStream object with additional convenience methods, which operates on a single file on disk. The interface is accessed through the FileSystemFileHandle.createWritable() method.

WritableStream

FileSystemWritableFileStream

Implemented types
Available extensions
Annotations
  • @JS.new()
  • @staticInterop

Constructors

FileSystemWritableFileStream()
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
seek(int position) → Future<void>

Available on FileSystemWritableFileStream, provided by the PropsFileSystemWritableFileStream extension

toString() → String
A string representation of this object.
inherited
truncate(int size) → Future<void>

Available on FileSystemWritableFileStream, provided by the PropsFileSystemWritableFileStream extension

write(dynamic data) → Future<void>

Available on FileSystemWritableFileStream, provided by the PropsFileSystemWritableFileStream extension

Operators

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