init method

Future<RestApiClient> init()
override

Implementation

Future<RestApiClient> init() async {
  await authHandler.init();
  if (_options.cacheEnabled) {
    await cacheHandler.init();
  }

  return this;
}