init method

Future init()

Implementation

Future init() async {
  await _storage.init();

  if (loggingOptions.logStorage) {
    await _storage.log();
  }

  final currentJwt = await jwt;
  if (currentJwt != null && currentJwt.isNotEmpty)
    _setJwtToHeader(currentJwt);
}