PassioMealPlanItem class
Class representing a meal plan item.
Constructors
- PassioMealPlanItem({required int dayNumber, required String dayTitle, required PassioFoodDataInfo meal, required PassioMealTime mealTime})
-
Creates a new instance of
PassioMealPlanItem
.const -
PassioMealPlanItem.fromJson(Map<
String, dynamic> json) -
Creates a
PassioMealPlanItem
instance from a JSON map.factory
Properties
- dayNumber → int
-
final
- dayTitle → String
-
final
- hashCode → int
-
Calculates the hash code for this
PassioMealPlanItem
object.no setteroverride - meal → PassioFoodDataInfo
-
final
- mealTime → PassioMealTime
-
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, dynamic> -
Converts the
PassioMealPlanItem
instance to a JSON map. -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
Compares two
PassioMealPlanItem
objects for equality.override