getRefreshToken static method
Implementation
static Future<String> getRefreshToken() async {
if (_refreshToken != "") {
return _refreshToken;
}
try {
String? refreshToken = await _secureStorage.read(key: _refreshTokenKey);
if (refreshToken != null && refreshToken != "") {
_refreshToken = refreshToken;
return refreshToken;
}
} catch (e) {
if (_debug) print(e.toString());
}
return "";
}