initialize method

Future<void> initialize()

Initializes the storage by loading cached tokens

Implementation

Future<void> initialize() async {
  if (_initialized) return;
  _cachedAccessToken = await _read(accessTokenKey);
  _cachedRefreshToken = await _read(refreshTokenKey);
  _initialized = true;
}