getNotificationList method
Implementation
@override
Future<Result<NotificationList>> getNotificationList(GetNotificationListQuery query) async {
NotificationListResult result = await _notificationApi.getNotificationList(getAppName(), query.toParam());
if (!result.isSuccess) {
throw Exception(result.message);
}
return Result.success(result.data?.toNotificationList() ?? NotificationList.empty());
}