init method
Initializes the client by preparing auth and cache handlers.
Implementation
@override
Future<RestApiClient> init() async {
await authHandler.init(); // Initialize authentication handler
if (_options.cacheEnabled) {
await cacheHandler
.init(); // Initialize cache handler if caching is enabled
}
return this; // Return the client instance
}