call method

  1. @override
Future<Either<BaseException, List<NotificationModel>>> call(
  1. GetNotificationsParams params
)

Implementation

@override
Future<Either<BaseException, List<NotificationModel>>> call(GetNotificationsParams params) {
  return _notificationsRepository.getNotifications(
    filter: params.filter,
    pagination: params.pagination,
  );
}