AjaxRequestReadyState class Null safety

Class used by AjaxRequest class. It represents the state of an AjaxRequest.

Properties

hashCode int
The hash code for this object. [...]
read-only, override
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
inherited
toString() String
A string representation of this object. [...]
override
toValue() int

Operators

operator ==(Object value) bool
The equality operator. [...]
override

Static Properties

values Set<AjaxRequestReadyState>
final

Static Methods

fromValue(int? value) AjaxRequestReadyState?

Constants

DONE → const AjaxRequestReadyState
The operation is complete.
const AjaxRequestReadyState._internal(4)
HEADERS_RECEIVED → const AjaxRequestReadyState
XMLHttpRequest.send() has been called, and AjaxRequest.headers and AjaxRequest.status are available.
const AjaxRequestReadyState._internal(2)
LOADING → const AjaxRequestReadyState
Downloading; AjaxRequest.responseText holds partial data.
const AjaxRequestReadyState._internal(3)
OPENED → const AjaxRequestReadyState
XMLHttpRequest.open() has been called.
const AjaxRequestReadyState._internal(1)
UNSENT → const AjaxRequestReadyState
Client has been created. XMLHttpRequest.open() not called yet.
const AjaxRequestReadyState._internal(0)