ApiConfig class

A portable object for passing api configuration across isolates.

Available Extensions

Constructors

ApiConfig(String basePath, Map<String, String> basePaths, Map<String, dynamic> options, String accessToken)
ApiConfig.fromClient(ApiClient apiClient)
factory

Properties

accessToken String
final
basePath String
final
basePaths Map<String, String>
final
hashCode int
The hash code for this object.
no setterinherited
options Map<String, dynamic>
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

apiClient({required ApiClientTransport apiClient, required ApiReader reader, bool logToFirebase = false}) ApiClient
Recreates an authentication state (usually done inside an isolate)
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