FileReader class
- Inheritance
-
- Object
- EventTarget
- FileReader
- Annotations
-
- @Native("FileReader")
Constructors
- FileReader.new()
-
factory
Properties
- error â DomException?
-
no setter
- hashCode â int
-
The hash code for this object.
no setterinherited
- 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
abort
events handled by this FileReader.no setter -
onError
â Stream<
ProgressEvent> -
Stream of
error
events handled by this FileReader.no setter -
onLoad
â Stream<
ProgressEvent> -
Stream of
load
events handled by this FileReader.no setter -
onLoadEnd
â Stream<
ProgressEvent> -
Stream of
loadend
events handled by this FileReader.no setter -
onLoadStart
â Stream<
ProgressEvent> -
Stream of
loadstart
events handled by this FileReader.no setter -
onProgress
â Stream<
ProgressEvent> -
Stream of
progress
events handled by this FileReader.no setter - readyState â int
-
no setter
- result â Object?
-
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
-
readAsArrayBuffer(
Blob blob) â void -
readAsDataUrl(
Blob blob) â void -
readAsText(
Blob blob, [String? label]) â void -
removeEventListener(
String type, EventListener? listener, [bool? useCapture]) â void -
inherited
-
toString(
) â String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) â bool -
The equality operator.
inherited
Constants
-
abortEvent
â const EventStreamProvider<
ProgressEvent> -
Static factory designed to expose
abort
events to event handlers that are not necessarily instances of FileReader. - DONE â const int
- EMPTY â const int
-
errorEvent
â const EventStreamProvider<
ProgressEvent> -
Static factory designed to expose
error
events to event handlers that are not necessarily instances of FileReader. -
loadEndEvent
â const EventStreamProvider<
ProgressEvent> -
Static factory designed to expose
loadend
events to event handlers that are not necessarily instances of FileReader. -
loadEvent
â const EventStreamProvider<
ProgressEvent> -
Static factory designed to expose
load
events to event handlers that are not necessarily instances of FileReader. - LOADING â const int
-
loadStartEvent
â const EventStreamProvider<
ProgressEvent> -
Static factory designed to expose
loadstart
events to event handlers that are not necessarily instances of FileReader. -
progressEvent
â const EventStreamProvider<
ProgressEvent> -
Static factory designed to expose
progress
events to event handlers that are not necessarily instances of FileReader.