import 'package:eatvio_app/features/feed/models/plan_pagination_model.dart'; import 'package:eatvio_app/features/plans/services/plans_service.dart'; class PlansRepository { final PlansService plansService; PlansRepository({required this.plansService}); Future> getPlansBySlug(String slug) async { try { return (await plansService.getPlansBySlug(author: slug)).data; } catch (e) { rethrow; } } }