DeliverInterventionState class
- Annotations
-
- @freezed
Constructors
-
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}) -
constfactory
Properties
-
copyWith
→ $DeliverInterventionStateCopyWith<
DeliverInterventionState> -
no setterinherited
- cycle → int
-
no setterinherited
- dose → int
-
no setterinherited
-
futureDeliveries
→ List<
ProjectCycleDelivery> ? -
no setterinherited
-
futureTask
→ List<
TaskModel> ? -
no setterinherited
- hasCycleArrived → bool
-
no setterinherited
- hashCode → int
-
The hash code for this object.
no setterinherited
- householdMemberWrapper → HouseholdMemberWrapper?
-
no setterinherited
- isEditing → bool
-
no setterinherited
- isLastDoseOfCycle → bool
-
no setterinherited
- loading → bool
-
no setterinherited
- oldTask → TaskModel?
-
no setterinherited
-
pastCycles
→ List<
ProjectCycle> ? -
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
-
tasks
→ List<
TaskModel> ? -
no setterinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited