forked from eatvio/eatvio_app
14 lines
361 B
Dart
14 lines
361 B
Dart
import 'package:dio/dio.dart';
|
|
import 'package:eatvio_app/features/plans/models/plan_pagination_model.dart';
|
|
import 'package:retrofit/retrofit.dart';
|
|
|
|
part 'plans_service.g.dart';
|
|
|
|
@RestApi()
|
|
abstract class PlansService {
|
|
factory PlansService(Dio dio, {String baseUrl}) = _PlansService;
|
|
|
|
@GET('/api/plans/index')
|
|
Future<PlanPaginationModel> getPlans();
|
|
}
|