AjaxRequestEvent class Null safety

Class used by AjaxRequest class. It represents events measuring progress of an AjaxRequest.

Constructors

AjaxRequestEvent({AjaxRequestEventType? type, bool? lengthComputable, int? loaded, int? total})

Properties

hashCode int
The hash code for this object. [...]
read-only, inherited
lengthComputable bool?
Is a Boolean flag indicating if the total work to be done, and the amount of work already done, by the underlying process is calculable. In other words, it tells if the progress is measurable or not.
read / write
loaded int?
Is an integer representing the amount of work already performed by the underlying process. The ratio of work done can be calculated with the property and AjaxRequestEvent.total. When downloading a resource using HTTP, this only represent the part of the content itself, not headers and other overhead.
read / write
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited
total int?
Is an integer representing the total amount of work that the underlying process is in the progress of performing. When downloading a resource using HTTP, this only represent the content itself, not headers and other overhead.
read / write
type AjaxRequestEventType?
Event type.
read / write

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
inherited
toJson() Map<String, dynamic>
toMap() Map<String, dynamic>
toString() String
A string representation of this object. [...]
override

Operators

operator ==(Object other) bool
The equality operator. [...]
inherited

Static Methods

fromMap(Map<String, dynamic>? map) AjaxRequestEvent?