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

isSupported() bool
Checks if the value is supported by the defaultTargetPlatform.
name() String
Gets the name of the value.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toNativeValue() String?
Gets String native value if supported by the current platform, otherwise null.
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

asNameMap() Map<String, AjaxRequestEventType>
Creates a map from the names of AjaxRequestEventType values to the values.
byName(String? name) AjaxRequestEventType?
Gets a possible AjaxRequestEventType instance value with name name.
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.