ApiKeyApi class
Constructors
- ApiKeyApi(String apiKey, String authKey, AuthLocation authLocation, {Client? client, Converter? converter, AuthStorage? authStorage})
Properties
- apiKey ↔ String
-
getter/setter pair
- authKey ↔ String
-
getter/setter pair
- authLocation ↔ AuthLocation
-
getter/setter pair
- baseUrl ↔ String?
-
getter/setter pairinherited
- converter ↔ Converter?
-
getter/setter pairinherited
-
defaultHeaders
↔ Map<
String, String> ? -
getter/setter pairinherited
- defaultMediaType ↔ String
-
getter/setter pairinherited
- hashCode → int
-
The hash code for this object.
no setterinherited
- httpClient → Client
-
finalinherited
- identifier → String?
-
finalinherited
- jsonConverter → JsonConverter
-
finalinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- useragent ↔ String?
-
getter/setter pairinherited
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
inherited
-
encodeRequest(
Request request) → Future< Request> -
Used to encode the body of the request before sending it.
inherited
-
interceptRequest(
Request request) → Future< Request> -
Called before a request is sent across the wire.
override
-
interceptResponse(
Response response) → Future< Response> -
Called before the response is returned to the user
inherited
-
logOut(
) → Future -
inherited
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
ping(
) → Future< bool> -
inherited
-
pingUrl(
String url) → Future< bool> -
inherited
-
send<
Value> (Request request, {Type? responseType, bool responseIsList = false}) → Future< Response< Value?> > -
Used to send a request
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited