getMessaging method
Implementation
Future<UserMessagingVO> getMessaging(String userId) async {
try {
final userModel = await _userMessagingDataService.getMessaging(userId);
final vo = UserMessagingVO.fromModel(userModel);
return vo;
} catch (e) {
if (e is RdevException) {
throw UserMessagingServiceException(
code: e.code, message: e.message, stackTrace: e.stackTrace);
}
throw UserMessagingServiceException();
}
}