FileWriter class
- Inheritance
- Object
- JSObject
- DartHtmlDomObject
- EventTarget
- FileWriter
- Annotations
- @DocsEditable()
- @DomName('FileWriter')
- @Experimental()
Constants
- abortEvent → EventStreamProvider<ProgressEvent> @DocsEditable(), @DomName('FileWriter.abortEvent')
-
Static factory designed to expose
abort
events to event handlers that are not necessarily instances of FileWriter.const EventStreamProvider<ProgressEvent>
('abort') - DONE → int @DocsEditable(), @DomName('FileWriter.DONE')
-
2
- errorEvent → EventStreamProvider<Event> @DocsEditable(), @DomName('FileWriter.errorEvent')
-
Static factory designed to expose
error
events to event handlers that are not necessarily instances of FileWriter.const EventStreamProvider<Event>
('error') - INIT → int @DocsEditable(), @DomName('FileWriter.INIT')
-
0
- progressEvent → EventStreamProvider<ProgressEvent> @DocsEditable(), @DomName('FileWriter.progressEvent')
-
Static factory designed to expose
progress
events to event handlers that are not necessarily instances of FileWriter.const EventStreamProvider<ProgressEvent>
('progress') - writeEndEvent → EventStreamProvider<ProgressEvent> @DocsEditable(), @DomName('FileWriter.writeendEvent')
-
Static factory designed to expose
writeend
events to event handlers that are not necessarily instances of FileWriter.const EventStreamProvider<ProgressEvent>
('writeend') - writeEvent → EventStreamProvider<ProgressEvent> @DocsEditable(), @DomName('FileWriter.writeEvent')
-
Static factory designed to expose
write
events to event handlers that are not necessarily instances of FileWriter.const EventStreamProvider<ProgressEvent>
('write') - writeStartEvent → EventStreamProvider<ProgressEvent> @DocsEditable(), @DomName('FileWriter.writestartEvent')
-
Static factory designed to expose
writestart
events to event handlers that are not necessarily instances of FileWriter.const EventStreamProvider<ProgressEvent>
('writestart') - WRITING → int @DocsEditable(), @DomName('FileWriter.WRITING')
-
1
Static Properties
- instanceRuntimeType → Type @Deprecated("Internal Use Only"), read-only
Constructors
Properties
- error → FileError @DocsEditable(), @DomName('FileWriter.error'), read-only
- length → int @DocsEditable(), @DomName('FileWriter.length'), read-only
- onAbort → Stream<ProgressEvent> @DocsEditable(), @DomName('FileWriter.onabort'), read-only
-
Stream of
abort
events handled by thisFileWriter
. - onError → Stream<Event> @DocsEditable(), @DomName('FileWriter.onerror'), read-only
-
Stream of
error
events handled by thisFileWriter
. - onProgress → Stream<ProgressEvent> @DocsEditable(), @DomName('FileWriter.onprogress'), read-only
-
Stream of
progress
events handled by thisFileWriter
. - onWrite → Stream<ProgressEvent> @DocsEditable(), @DomName('FileWriter.onwrite'), read-only
-
Stream of
write
events handled by thisFileWriter
. - onWriteEnd → Stream<ProgressEvent> @DocsEditable(), @DomName('FileWriter.onwriteend'), read-only
-
Stream of
writeend
events handled by thisFileWriter
. - onWriteStart → Stream<ProgressEvent> @DocsEditable(), @DomName('FileWriter.onwritestart'), read-only
-
Stream of
writestart
events handled by thisFileWriter
. - position → int @DocsEditable(), @DomName('FileWriter.position'), read-only
- readyState → int @DocsEditable(), @DomName('FileWriter.readyState'), read-only
- hashCode → int read-only, inherited
- on → Events read-only, inherited
-
This is an ease-of-use accessor for event streams which should only be used when an explicit accessor is not available.
- runtimeType → Type read-only, inherited
-
A representation of the runtime type of the object.
Operators
- operator ==(
other) → bool inherited -
The equality operator.
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 inherited -
Invoked when a non-existent method or property is accessed.
- removeEventListener(
String type, EventListener listener, [ bool useCapture ]) → void inherited - toString(
) → String inherited -
Returns the result of the JavaScript objects
toString
method.
© 2012 the Dart project authors
Licensed under the Creative Commons Attribution-ShareAlike License v4.0.
https://api.dartlang.org/stable/1.24.3/dart-html/FileWriter-class.html