Elapsed<T> class

Wraps the elapsed(...) method's result along with the time elapsed value.

Constructors

Elapsed(T result, int inMilliseconds)

Properties

hashCode int
The hash code for this object.
no setterinherited
inMilliseconds int
The time it took for the future to complete. In milliseconds.
final
inMinutes double
The time it took for the future to complete. In minutes.
no setter
inSeconds double
The time it took for the future to complete. In seconds.
no setter
result → T
The actual result of the Future. If the Future doesn't return a value, you can ignore this property.
final
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
toString() String
A string representation of this object.
inherited

Operators

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