HttpApiClient class
- Implemented types
Constructors
-
HttpApiClient({required FutureOr<
String> domain, String path = '/', List<ApiProvider< providers = const [], ApiCodec? codec})HttpApiRequest> >
Properties
- codec ↔ ApiCodec?
-
getter/setter pair
-
domain
↔ FutureOr<
String> -
getter/setter pair
- hashCode → int
-
The hash code for this object.
no setterinherited
- path ↔ String
-
getter/setter pair
-
providers
↔ List<
ApiProvider< HttpApiRequest> > -
getter/setter pair
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
mount(
String prefix, [ApiCodec? codec]) → ApiClient -
override
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
request<
T> (String endpoint, Map< String, dynamic> params, RequestContext? context) → T -
override
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited