EatsmartFood class
- Implementers
- Annotations
-
- @JsonSerializable()
Constructors
-
EatsmartFood({required int rowNumber, required String foodName, String? foodExplanation, required String foodCode, required String janCode, required double calorie, double? protein, double? fat, double? carbo, double? natrium, required double standardAmount, required String standardAmountUnit, double? amount, String? amountUnit, double? contentsAmount, String? contentsAmountUnit, double? contentsAmountRate, required String largeCategoryName, required String largeCategoryCode, required String foodCategoryName, required String foodCategoryCode, required String storeName, required String storeCode, List<
EatsmartNutrition> ? nutrition}) -
EatsmartFood.fromJson(Map<
String, dynamic> json) -
factory
Properties
- amount ↔ double?
-
getter/setter pair
- amountUnit ↔ String?
-
getter/setter pair
- calorie → double
-
final
- carbo ↔ double?
-
getter/setter pair
- contentsAmount ↔ double?
-
getter/setter pair
- contentsAmountRate ↔ double?
-
getter/setter pair
- contentsAmountUnit ↔ String?
-
getter/setter pair
- fat ↔ double?
-
getter/setter pair
- foodCategoryCode → String
-
final
- foodCategoryName → String
-
final
- foodCode → String
-
final
- foodExplanation ↔ String?
-
getter/setter pair
- foodName → String
-
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- janCode → String
-
final
- largeCategoryCode → String
-
final
- largeCategoryName → String
-
final
- natrium ↔ double?
-
getter/setter pair
-
nutrition
↔ List<
EatsmartNutrition> ? -
getter/setter pair
- protein ↔ double?
-
getter/setter pair
- rowNumber → int
-
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- standardAmount → double
-
final
- standardAmountUnit → String
-
final
- storeCode → String
-
final
- storeName → String
-
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, dynamic> -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited