ApiClient class

Constructors

ApiClient()
factory

Properties

dio → Dio
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

createThirdPartyDio(String baseUrl, {Map<String, String>? headers}) → Dio
getClient(String name) → Dio
initialize({required String baseUrl, Map<String, String>? globalHeaders, List<Interceptor>? interceptors}) → void
initializeClient({required String name, required String baseUrl, Map<String, String>? globalHeaders, List<Interceptor>? interceptors}) → void
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

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