FileWriter class
- Inheritance
-
- Object
- EventTarget
- FileWriter
- Annotations
-
- @Native("FileWriter")
Properties
- error → DomException?
-
no setter
- hashCode → int
-
The hash code for this object.
no setterinherited
- length → int?
-
no setter
- on → Events
-
This is an ease-of-use accessor for event streams which should only be
used when an explicit accessor is not available.
no setterinherited
-
onAbort
→ Stream<
ProgressEvent> -
Stream of
abortevents handled by this FileWriter.no setter -
onError
→ Stream<
Event> -
Stream of
errorevents handled by this FileWriter.no setter -
onProgress
→ Stream<
ProgressEvent> -
Stream of
progressevents handled by this FileWriter.no setter -
onWrite
→ Stream<
ProgressEvent> -
Stream of
writeevents handled by this FileWriter.no setter -
onWriteEnd
→ Stream<
ProgressEvent> -
Stream of
writeendevents handled by this FileWriter.no setter -
onWriteStart
→ Stream<
ProgressEvent> -
Stream of
writestartevents handled by this FileWriter.no setter - position → int?
-
no setter
- readyState → int?
-
no setter
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
abort(
) → void -
addEventListener(
String type, EventListener? listener, [bool? useCapture]) → void -
inherited
-
dispatchEvent(
Event event) → bool -
inherited
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
removeEventListener(
String type, EventListener? listener, [bool? useCapture]) → void -
inherited
-
seek(
int position) → void -
toString(
) → String -
A string representation of this object.
inherited
-
truncate(
int size) → void -
write(
Blob data) → void
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Constants
-
abortEvent
→ const EventStreamProvider<
ProgressEvent> -
Static factory designed to expose
abortevents to event handlers that are not necessarily instances of FileWriter. - DONE → const int
-
errorEvent
→ const EventStreamProvider<
Event> -
Static factory designed to expose
errorevents to event handlers that are not necessarily instances of FileWriter. - INIT → const int
-
progressEvent
→ const EventStreamProvider<
ProgressEvent> -
Static factory designed to expose
progressevents to event handlers that are not necessarily instances of FileWriter. -
writeEndEvent
→ const EventStreamProvider<
ProgressEvent> -
Static factory designed to expose
writeendevents to event handlers that are not necessarily instances of FileWriter. -
writeEvent
→ const EventStreamProvider<
ProgressEvent> -
Static factory designed to expose
writeevents to event handlers that are not necessarily instances of FileWriter. -
writeStartEvent
→ const EventStreamProvider<
ProgressEvent> -
Static factory designed to expose
writestartevents to event handlers that are not necessarily instances of FileWriter. - WRITING → const int