reloadCurrentUser method
Implementation
Future<AuthUserVO> reloadCurrentUser() async {
try {
final authUser = await _authDataService.reloadCurrentUser();
final vo = AuthUserVO.fromAuthUser(authUser);
return vo;
} catch (e) {
if (e is RdevException) {
throw AuthServiceException(
code: e.code, message: e.message, stackTrace: e.stackTrace);
}
throw AuthServiceException(
stackTrace: StackTrace.current, message: e.toString());
}
}