FileReader class Null safety
- Inheritance
-
- Object
- EventTarget
- FileReader
Constructors
- FileReader()
-
factory
Properties
- error → DomException?
-
read-only
- hashCode → int
-
The hash code for this object.
read-onlyinherited
- 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-onlyinherited
-
onAbort
→ Stream<
ProgressEvent> -
Stream of
abortevents handled by this FileReader.read-only -
onError
→ Stream<
ProgressEvent> -
Stream of
errorevents handled by this FileReader.read-only -
onLoad
→ Stream<
ProgressEvent> -
Stream of
loadevents handled by this FileReader.read-only -
onLoadEnd
→ Stream<
ProgressEvent> -
Stream of
loadendevents handled by this FileReader.read-only -
onLoadStart
→ Stream<
ProgressEvent> -
Stream of
loadstartevents handled by this FileReader.read-only -
onProgress
→ Stream<
ProgressEvent> -
Stream of
progressevents handled by this FileReader.read-only - readyState → int
-
read-only
- result → Object?
-
read-only
- runtimeType → Type
-
A representation of the runtime type of the object.
read-onlyinherited
Methods
-
abort(
) → void -
addEventListener(
String type, EventListener? listener, [bool? useCapture]) → void -
inherited
-
dispatchEvent(
Event event) → bool -
inherited
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a non-existent 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
abortevents to event handlers that are not necessarily instances of FileReader.const EventStreamProvider<ProgressEvent>('abort') - DONE → const int
-
2 - EMPTY → const int
-
0 -
errorEvent
→ const EventStreamProvider<
ProgressEvent> -
Static factory designed to expose
errorevents to event handlers that are not necessarily instances of FileReader.const EventStreamProvider<ProgressEvent>('error') -
loadEndEvent
→ const EventStreamProvider<
ProgressEvent> -
Static factory designed to expose
loadendevents to event handlers that are not necessarily instances of FileReader.const EventStreamProvider<ProgressEvent>('loadend') -
loadEvent
→ const EventStreamProvider<
ProgressEvent> -
Static factory designed to expose
loadevents to event handlers that are not necessarily instances of FileReader.const EventStreamProvider<ProgressEvent>('load') - LOADING → const int
-
1 -
loadStartEvent
→ const EventStreamProvider<
ProgressEvent> -
Static factory designed to expose
loadstartevents to event handlers that are not necessarily instances of FileReader.const EventStreamProvider<ProgressEvent>('loadstart') -
progressEvent
→ const EventStreamProvider<
ProgressEvent> -
Static factory designed to expose
progressevents to event handlers that are not necessarily instances of FileReader.const EventStreamProvider<ProgressEvent>('progress')