15 lines
407 B
Dart
15 lines
407 B
Dart
|
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;
|
||
|
}
|
||
|
|
||
|
|