refreshCurrentUserToken method
Implementation
Future<IdTokenResult?> refreshCurrentUserToken({bool force = false}) async {
try {
return _auth.currentUser?.getIdTokenResult(force);
} catch (err) {
if (err is AuthDataServiceException) {
rethrow;
}
throw AuthDataServiceException(
message: err.toString(),
);
}
}