RequestCollection class
Collection of currently running requests
Properties
- cancelReasonProcessingCompleter ↔ Completer?
-
getter/setter pair
- hashCode → int
-
The hash code for this object.
no setterinherited
-
requests
→ List<
BaseRequest> -
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
addRequest(
BaseRequest request) → void - Adds request to collection
-
cancelAllRequests(
{Future cancelReasonProcessor()?, bool retryRequestsAfterProcessing = false}) → Future< void> - Cancels all requests in collection.
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
removeAllRequests(
) → void - Removes all requests from collection
-
removeRequest(
BaseRequest request) → void - Removes request from collection
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Properties
- instance → RequestCollection
-
no setter