call method

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

Implementation

@override
Future<Either<BaseException, NotificationModel>> call(GetNotificationDetailParams params) {
  return _notificationsRepository.getNotification(
    params.id,
  );
}