ApiClient class

Constructors

ApiClient({String basePath = 'https://kraken.icure.dev'})
ApiClient.basic(String basePath, String userName, String password)

Properties

authentications Map<String, Auth>
Returns an unmodifiable Map of the authentications, since none should be added or deleted.
no setter
basePath String
final
client ↔ Client
Returns the current HTTP Client instance to use in this class.
getter/setter pair
defaultHeaderMap Map<String, String>
no setter
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 json, String targetType, {bool growable = false}) → dynamic
deserializeAsync(String json, String targetType, {bool growable = false}) Future
getAuthentication<T extends Auth>(String name) → T?
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? value) String
serializeAsync(Object? value) Future<String>
toString() String
A string representation of this object.
inherited

Operators

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