getToken static method

String? getToken()

Get value of Stored Token.

returns null if no token is found.

Implementation

static String? getToken() {
  try {
    return _storage.read(_tokenStorageKey);
  } catch (e) {
    kLog("error getting token!", tag: classTag, logStatus: LogStatus.ERROR);
  }
  return null;
}