setToken static method

Future<void> setToken(
  1. String token
)

Implementation

static Future<void> setToken(String token) async {
  _memToken = token;
  await ApStorage.set(_kToken, token);
  AutoPilotLogger.token('Access token saved ✅');
}