ApiManager class abstract

Abstract interface for the underlying HTTP client manager.

Constructors

ApiManager()

Properties

dio → Dio?
The configured Dio instance. Available after initialize is called.
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

initialize({required String baseURL, Duration connectTimeout, Duration receiveTimeout, String contentType, Map<String, dynamic> headers, String? pemCertificate, required bool isToEnableSSLCertificate, Uint8List? localCertificateBytes, bool isDevEnv}) → void
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
removeHeader(String key) → void
Removes a single header by key from the default headers.
toString() String
A string representation of this object.
inherited
updateHeaders(Map<String, dynamic> headers) → void
Merges headers into the default headers sent on every request.

Operators

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