refresh method
Implementation
Future<oauth2.Credentials?> refresh(oauth2.Credentials credentials) async {
try {
final newCredentials = await credentials.refresh(identifier: clientId);
await _storeCredentials(newCredentials);
return newCredentials;
} catch (ex) {
return null;
}
}