ApiClient class
Constructors
-
ApiClient({required ApiClientTransport transport, String basePath = "https://localhost:8080", String? defaultAuthName = kBearer, ApiReader? serializer, Map<String, String>? basePaths, Authentication? authentication})
-
Methods
-
-
-
decodeAs<T>(String jsonVal)
→ T?
-
-
deserialize(String jsonVal, String targetType)
→ dynamic
-
-
invoke(String path, String method, QueryParams queryParams, Iterable<PFile> files, Object body, Map<String, String> formParams, String contentType, List<String>? authNames, {String? basePath})
→ Future<ApiResponse>
-
-
invokeRequest(RequestBuilder request)
→ Future<ApiResponse>
-
-
noSuchMethod(Invocation invocation)
→ dynamic
-
Invoked when a nonexistent method or property is accessed.
inherited
-
toString()
→ String
-
A string representation of this object.
inherited
-
updateParamsForAuth(Set<String> authNames, QueryParams queryParams, )
→ Future
-
Update query and header parameters based on authentication settings.
@param authNames The authentications to apply