writeAccessToken method

Future writeAccessToken(
  1. String accessToken
)
override

Implementation

Future writeAccessToken(String accessToken) async {
  if (accessToken.isEmpty) {
    return;
  }

  return await AuthManager.storage
      .write(key: _KEY_ACCESS_TOKEN, value: accessToken);
}