ApiClient class

ApiClient is responsible for making HTTP requests to the API.

Constructors

ApiClient(Configuration config)
Constructor

Properties

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
Add default header value by key
deserialize(String jsonVal, String targetType) → dynamic
Deserialize the response into the target type.
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>
Invoke HTTP request We don't use a Map<String, String> for queryParams. If collectionFormat is 'multi' a key might appear multiple times.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
serialize(Object? obj) String
Serialize the object into a JSON string.
toString() String
A string representation of this object.
inherited

Operators

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

Constants

API_CLIENT_VERSION_HEADER → const String
Aspose client version header name
API_SDK_HEADER → const String
SDK header name
SDK_NAME → const String
SDK name