getUser method
Implementation
Future<UserVO> getUser(String userId) async {
try {
final userModel = await _userDataService.getUser(userId);
final vo = UserVO.fromUserModel(userModel);
return vo;
} catch (e) {
if (e is UserDataServiceException) {
throw UserServiceException(
code: e.code, message: e.message, stackTrace: e.stackTrace);
}
throw UserServiceException();
}
}