Api class
- Implementers
Properties
- baseUrl ↔ String?
-
getter/setter pair
- converter ↔ Converter?
-
getter/setter pair
-
defaultHeaders
↔ Map<
String, String> ? -
getter/setter pair
- defaultMediaType ↔ String
-
getter/setter pair
- hashCode → int
-
The hash code for this object.
no setterinherited
- httpClient → Client
-
final
- identifier → String?
-
final
- jsonConverter → JsonConverter
-
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- useragent ↔ String?
-
getter/setter pair
Methods
-
decodeResponse<
Value> (Response< String?> response, Type responseType, bool responseIsList) → Future<Response< Value?> > - Used to decode the response body before returning from an API call
-
encodeRequest(
Request request) → Future< Request> - Used to encode the body of the request before sending it.
-
interceptRequest(
Request request) → Future< Request> - Called before a request is sent across the wire.
-
interceptResponse(
Response response) → Future< Response> - Called before the response is returned to the user
-
logOut(
) → Future -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
ping(
) → Future< bool> -
pingUrl(
String url) → Future< bool> -
send<
Value> (Request request, {Type? responseType, bool responseIsList = false}) → Future< Response< Value?> > - Used to send a request
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited