QueuedRequest<T> class
A request in the queue
Constructors
-
QueuedRequest.new({required String domain, required RequestPriority priority, required Future<
T> execute(), required Completer<T> completer}) - Creates a new QueuedRequest
Properties
-
completer
→ Completer<
T> -
The completer for the request
final
- domain → String
-
The domain of the request
final
-
execute
→ Future<
T> Function() -
The function to execute
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- priority → RequestPriority
-
The priority of the request
final
- queueTime → DateTime
-
The time the request was added to the queue
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