FileReader class - dart:html library (original) (raw)

Inheritance

Annotations

Constructors

FileReader()

factory

Properties

errorDomException?

no setter

hashCodeint

The hash code for this object.

no setterinherited

onEvents

This is an ease-of-use accessor for event streams which should only be used when an explicit accessor is not available.

no setterinherited

onAbortStream<ProgressEvent>

Stream of abort events handled by this FileReader.

no setter

onErrorStream<ProgressEvent>

Stream of error events handled by this FileReader.

no setter

onLoadStream<ProgressEvent>

Stream of load events handled by this FileReader.

no setter

onLoadEndStream<ProgressEvent>

Stream of loadend events handled by this FileReader.

no setter

onLoadStartStream<ProgressEvent>

Stream of loadstart events handled by this FileReader.

no setter

onProgressStream<ProgressEvent>

Stream of progress events handled by this FileReader.

no setter

readyStateint

no setter

resultObject?

no setter

runtimeTypeType

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.