ApiRequest<TRequest extends RequestBase, TResponse extends ResponseBase> class
Constructors
-
ApiRequest({required TRequest request, required Client httpClient, required UriResolver resolveUrl, required ApiRequestConfig<
TResponse> requestConfig})
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- httpClient → Client
-
final
- request → TRequest
-
final
-
requestConfig
→ ApiRequestConfig<
TResponse> -
final
- resolveUrl → UriResolver
-
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
getResponse(
) → Future< TResponse?> -
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