refreshToken method
Refreshes the authorization token. Note: If refreshToken is not set it will attempt to use the refresh token from the last token request it cached if any.
Implementation
Future<TokenResponse> refreshToken({String refreshToken = ""}) async {
if (_authenticationService == null) {
throw ClientNotInitializedException(message: "Auth Not Ready");
} else {
return _authenticationService!.refreshToken(refreshToken: refreshToken);
}
}