storeToken static method

dynamic storeToken(
  1. String token
)

Implementation

// TOKEN FUNCTIONALITY
static storeToken(String token) async {
  try {
    await _storage.write(_tokenStorageKey, token);
  } catch(e) {
    kLog("Error storing token!",tag: classTag,logStatus: LogStatus.ERROR);
  }
}