AjaxRequestEventType class

Class used by AjaxRequestEvent class.

Properties

hashCode int
The hash code for this object.
no setteroverride
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toNativeValue() String
Gets String native value.
toString() String
A string representation of this object.
override
toValue() String
Gets String value.

Operators

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

Static Properties

values Set<AjaxRequestEventType>
Set of all values of AjaxRequestEventType.
final

Static Methods

fromNativeValue(String? value) AjaxRequestEventType?
Gets a possible AjaxRequestEventType instance from a native value.
fromValue(String? value) AjaxRequestEventType?
Gets a possible AjaxRequestEventType instance from String value.

Constants

ABORT → const AjaxRequestEventType
The ABORT event is fired when a request has been aborted.
ERROR → const AjaxRequestEventType
The ERROR event is fired when the request encountered an error.
LOAD → const AjaxRequestEventType
The LOAD event is fired when an XMLHttpRequest transaction completes successfully.
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).
LOADSTART → const AjaxRequestEventType
The LOADSTART event is fired when a request has started to load data.
PROGRESS → const AjaxRequestEventType
The PROGRESS event is fired periodically when a request receives more data.
TIMEOUT → const AjaxRequestEventType
The TIMEOUT event is fired when progression is terminated due to preset time expiring.