RequestProgress class

A representation of a progress event at a specific point in time either for an HTTP request upload or download. Based on ProgressEvent but with an additional percent property for convenience.

Constructors

RequestProgress([int loaded = 0, int total = -1])
factory

Properties

hashCode int
The hash code for this object.
no setterinherited
lengthComputable bool
Indicates whether or not the progress is measurable.
final
loaded int
Amount of work already done.
final
percent double
Percentage of work done.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
total int
Total amount of work being performed. This only represents the content itself, not headers and other overhead.
final

Methods

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

Operators

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