Inheritance
Annotations
  • DocsEditable()
  • DomName('FileWriter')
  • Experimental()

Constants

abortEvent → EventStreamProvider<ProgressEvent>

Static factory designed to expose abort events to event handlers that are not necessarily instances of FileWriter.…

const const EventStreamProvider<ProgressEvent>('abort')
DONE → int

const 2
errorEvent → EventStreamProvider<Event>

Static factory designed to expose error events to event handlers that are not necessarily instances of FileWriter.…

const const EventStreamProvider<Event>('error')
INIT → int

const 0
progressEvent → EventStreamProvider<ProgressEvent>

Static factory designed to expose progress events to event handlers that are not necessarily instances of FileWriter.…

const const EventStreamProvider<ProgressEvent>('progress')
writeEndEvent → EventStreamProvider<ProgressEvent>

Static factory designed to expose writeend events to event handlers that are not necessarily instances of FileWriter.…

const const EventStreamProvider<ProgressEvent>('writeend')
writeEvent → EventStreamProvider<ProgressEvent>

Static factory designed to expose write events to event handlers that are not necessarily instances of FileWriter.…

const const EventStreamProvider<ProgressEvent>('write')
writeStartEvent → EventStreamProvider<ProgressEvent>

Static factory designed to expose writestart events to event handlers that are not necessarily instances of FileWriter.…

const const EventStreamProvider<ProgressEvent>('writestart')
WRITING → int

const 1

Static Methods

internalCreateFileWriter() → FileWriter

Constructors

FileWriter.internal_()

Properties

The underlying JS DOM object.

read / write, inherited
error → FileError

read-only
hashCode → int

read-only, inherited
length → int

read-only
on → Events

This is an ease-of-use accessor for event streams which should only be used when an explicit accessor is not available.

read-only, inherited
onAbort → Stream<ProgressEvent>

Stream of abort events handled by this FileWriter.

read-only
onError → Stream<Event>

Stream of error events handled by this FileWriter.

read-only
onProgress → Stream<ProgressEvent>

Stream of progress events handled by this FileWriter.

read-only
onWrite → Stream<ProgressEvent>

Stream of write events handled by this FileWriter.

read-only
onWriteEnd → Stream<ProgressEvent>

Stream of writeend events handled by this FileWriter.

read-only
onWriteStart → Stream<ProgressEvent>

Stream of writestart events handled by this FileWriter.

read-only
position → int

read-only
readyState → int

read-only
runtimeType → Type

A representation of the runtime type of the object.

read-only, inherited

Operators

operator ==(other) → bool

The equality operator.…

inherited

Methods

abort() → void

addEventListener(String type, EventListener listener(Event event), [bool useCapture]) → void

inherited
dispatchEvent(Event event) → bool

inherited
noSuchMethod(Invocation invocation) → dynamic

Invoked when a non-existent method or property is accessed.…

inherited
removeEventListener(String type, EventListener listener(Event event), [bool useCapture]) → void

inherited
seek(int position) → void

toString() → String

Returns a string representation of this object.

inherited
truncate(int size) → void

write(Blob data) → void