DeliverInterventionState constructor
const
DeliverInterventionState({
- @Default(false) bool loading,
- @Default(false) bool isEditing,
- @Default(1) int cycle,
- @Default(1) int dose,
- List<
ProjectCycle> ? pastCycles, - @Default(true) bool hasCycleArrived,
- @Default(false) bool isLastDoseOfCycle,
- HouseholdMemberWrapper? householdMemberWrapper,
- List<
TaskModel> ? tasks, - List<
ProjectCycleDelivery> ? futureDeliveries, - List<
TaskModel> ? futureTask, - TaskModel? oldTask,
Implementation
const factory DeliverInterventionState({
@Default(false) bool loading,
@Default(false) bool isEditing,
@Default(1) int cycle,
@Default(1) int dose,
List<ProjectCycle>? pastCycles,
@Default(true) bool hasCycleArrived,
@Default(false) bool isLastDoseOfCycle,
HouseholdMemberWrapper? householdMemberWrapper,
List<TaskModel>? tasks,
List<ProjectCycleDelivery>? futureDeliveries,
List<TaskModel>? futureTask,
TaskModel? oldTask,
}) = _DeliverInterventionState;