ApiClient class

Constructors

ApiClient(String path, Config config)
ApiClient.empty()

Properties

basePath String
getter/setter pair
client ↔ Client
getter/setter pair
config Config
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

addDefaultHeader(String key, String value) → void
deserialize(String jsonVal, String targetType) → dynamic
getToken() Future<String>
invokeAPI(String path, String method, List<QueryParam> queryParams, Object? body, Map<String, String> headerParams, Map<String, String> formParams, String contentType, List<String> authNames) Future<Response>
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
serialize(Object? obj) String
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited