AjaxRequestEventType class Null safety

Class used by AjaxRequestEvent class.


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


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


operator ==(Object value) bool
The equality operator.

Static Properties

values Set<AjaxRequestEventType>

Static Methods

fromValue(String? value) AjaxRequestEventType?


ABORT → const AjaxRequestEventType
The ABORT event is fired when a request has been aborted.
const AjaxRequestEventType._internal("abort")
ERROR → const AjaxRequestEventType
The ERROR event is fired when the request encountered an error.
const AjaxRequestEventType._internal("error")
LOAD → const AjaxRequestEventType
The LOAD event is fired when an XMLHttpRequest transaction completes successfully.
const AjaxRequestEventType._internal("load")
LOADEND → const AjaxRequestEventType
The LOADEND event is fired when a request has completed, whether successfully (after AjaxRequestEventType.LOAD) or unsuccessfully (after AjaxRequestEventType.ABORT or AjaxRequestEventType.ERROR).
const AjaxRequestEventType._internal("loadend")
LOADSTART → const AjaxRequestEventType
The LOADSTART event is fired when a request has started to load data.
const AjaxRequestEventType._internal("loadstart")
PROGRESS → const AjaxRequestEventType
The PROGRESS event is fired periodically when a request receives more data.
const AjaxRequestEventType._internal("progress")
TIMEOUT → const AjaxRequestEventType
The TIMEOUT event is fired when progression is terminated due to preset time expiring.
const AjaxRequestEventType._internal("timeout")