import 'package:eatvio_app/features/calendar/models/calendar_model.dart'; import 'package:freezed_annotation/freezed_annotation.dart'; part 'calendar_state.freezed.dart'; @freezed abstract class CalendarState with _$CalendarState { const factory CalendarState() = _CalendarState; const factory CalendarState.loading() = CalendarStateLoading; const factory CalendarState.loaded({ required List calendarList, }) = CalendarStateLoaded; const factory CalendarState.error({ required String errorMessage, }) = CalendarStateError; }