Quit-Your-Addictions/lib/models/selected_day_model.dart

15 lines
407 B
Dart
Raw Normal View History

2024-01-07 01:49:35 +01:00
import 'package:freezed_annotation/freezed_annotation.dart';
import 'package:flutter/foundation.dart';
import 'package:Rabbit_Habit/models/habit_model.dart';
part 'selected_day_model.freezed.dart';
@Freezed(makeCollectionsUnmodifiable: false)
class SelectedDay with _$SelectedDay {
const factory SelectedDay({
required DateTime selectedDay,
required List<Rabbit> habits,
}) = _SelectedDay;
}