Inheritance
Annotations
  • @DocsEditable()
  • @DomName('FileWriter')
  • @Experimental()
  • @Native("FileWriter")

Properties

error FileError
@DocsEditable(), @DomName('FileWriter.error'), final
length int
@DocsEditable(), @DomName('FileWriter.length'), final
onAbort Stream<ProgressEvent>
Stream of abort events handled by this FileWriter.
@DocsEditable(), @DomName('FileWriter.onabort'), read-only
onError Stream<Event>
Stream of error events handled by this FileWriter.
@DocsEditable(), @DomName('FileWriter.onerror'), read-only
onProgress Stream<ProgressEvent>
Stream of progress events handled by this FileWriter.
@DocsEditable(), @DomName('FileWriter.onprogress'), read-only
onWrite Stream<ProgressEvent>
Stream of write events handled by this FileWriter.
@DocsEditable(), @DomName('FileWriter.onwrite'), read-only
onWriteEnd Stream<ProgressEvent>
Stream of writeend events handled by this FileWriter.
@DocsEditable(), @DomName('FileWriter.onwriteend'), read-only
onWriteStart Stream<ProgressEvent>
Stream of writestart events handled by this FileWriter.
@DocsEditable(), @DomName('FileWriter.onwritestart'), read-only
position int
@DocsEditable(), @DomName('FileWriter.position'), final
readyState int
@DocsEditable(), @DomName('FileWriter.readyState'), final
hashCode int
read-only, inherited
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
runtimeType Type
read-only, inherited

Methods

abort() → void
@DocsEditable(), @DomName('FileWriter.abort')
seek(int position) → void
@DocsEditable(), @DomName('FileWriter.seek')
truncate(int size) → void
@DocsEditable(), @DomName('FileWriter.truncate')
write(Blob data) → void
@DocsEditable(), @DomName('FileWriter.write')
addEventListener(String type, EventListener listener, [ bool useCapture ]) → void
inherited
dispatchEvent(Event event) bool
@DocsEditable(), @DomName('EventTarget.dispatchEvent'), inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
inherited
removeEventListener(String type, EventListener listener, [ bool useCapture ]) → void
inherited
toString() String
Returns a string representation of this object.
inherited

Operators

operator ==(other) bool
The equality operator. [...]
inherited

Constants

abortEvent EventStreamProvider<ProgressEvent>
Static factory designed to expose abort events to event handlers that are not necessarily instances of FileWriter. [...]
@DocsEditable(), @DomName('FileWriter.abortEvent')
DONE int
@DocsEditable(), @DomName('FileWriter.DONE')
2
errorEvent EventStreamProvider<Event>
Static factory designed to expose error events to event handlers that are not necessarily instances of FileWriter. [...]
@DocsEditable(), @DomName('FileWriter.errorEvent')
const EventStreamProvider<Event>('error')
INIT int
@DocsEditable(), @DomName('FileWriter.INIT')
0
progressEvent EventStreamProvider<ProgressEvent>
Static factory designed to expose progress events to event handlers that are not necessarily instances of FileWriter. [...]
@DocsEditable(), @DomName('FileWriter.progressEvent')
const EventStreamProvider<ProgressEvent>('progress')
writeEndEvent EventStreamProvider<ProgressEvent>
Static factory designed to expose writeend events to event handlers that are not necessarily instances of FileWriter. [...]
@DocsEditable(), @DomName('FileWriter.writeendEvent')
const EventStreamProvider<ProgressEvent>('writeend')
writeEvent EventStreamProvider<ProgressEvent>
Static factory designed to expose write events to event handlers that are not necessarily instances of FileWriter. [...]
@DocsEditable(), @DomName('FileWriter.writeEvent')
writeStartEvent EventStreamProvider<ProgressEvent>
Static factory designed to expose writestart events to event handlers that are not necessarily instances of FileWriter. [...]
@DocsEditable(), @DomName('FileWriter.writestartEvent')
const EventStreamProvider<ProgressEvent>('writestart')
WRITING int
@DocsEditable(), @DomName('FileWriter.WRITING')
1