LucidApiClientConfig class

Constructors

LucidApiClientConfig({required String baseUrl, Duration timeout = const Duration(seconds: 60), LucidHttpHeaders headers = const {}, List<Interceptor> interceptors = const [], bool enableCache = true, Duration cacheTimeout = const Duration(minutes: 5), bool enableLogging = false, int retryAttempts = 3, Duration retryDelay = const Duration(seconds: 2)})

Properties

baseUrl → String
final
cacheTimeout → Duration
final
enableCache → bool
final
enableLogging → bool
final
hashCode → int
The hash code for this object.
no setterinherited
headers → LucidHttpHeaders
final
interceptors → List<Interceptor>
final
retryAttempts → int
final
retryDelay → Duration
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
timeout → Duration
final

Methods

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