MealRecordsModel class

Annotations

Constructors

MealRecordsModel({required List<MealRecordModel> mealRecords})
const
factory

Properties

copyWith → $MealRecordsModelCopyWith<MealRecordsModel>
no setterinherited
hashCode int
The hash code for this object.
no setterinherited
latestMealRecordImageUrl String
最新の食事記録のimageURLを取得する
no setter
mealRecords List<MealRecordModel>
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
sortedMealRecords List<MealRecordModel>
新しい順に並び替えられた食事記録
no setter
totalSalt IntakeNutrient
塩分の合計摂取量
no setter
totalWater IntakeNutrient
水分の合計摂取量
no setter

Methods

computeIntakeNutrient({required MealRecordNutrientType type, required List<MealRecordModel> records}) 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