MealRecordModel class

Annotations

Constructors

MealRecordModel({required String uid, required DateTime dateTime, required String imageUrl, required List<FoodItemModel>? foodItems})
const
factory

Properties

copyWith → $MealRecordModelCopyWith<MealRecordModel>
no setterinherited
dateTime → DateTime
no setterinherited
foodItemNames → List<String>
食品名のリスト
no setter
foodItems → List<FoodItemModel>?
no setterinherited
hashCode → int
The hash code for this object.
no setterinherited
imageUrl → String
no setterinherited
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
salt → IntakeNutrient
塩分の摂取量
no setter
uid → String
no setterinherited
water → IntakeNutrient
水分の摂取量
no setter

Methods

computeIntakeNutrient({required MealRecordNutrientType type, required List<FoodItemModel>? foodItems}) → IntakeNutrient
摂取した栄養素の合計を計算する
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