addToken method

Future<void> addToken(
  1. AccessTokenResponse tknResp
)

Implementation

Future<void> addToken(AccessTokenResponse tknResp) async {
  var tokens = await insertToken(tknResp);
  await storage.write(key, jsonEncode(tokens));
}