NutritionalAnalysisConfig class
Constructors
-
NutritionalAnalysisConfig({required NutritionRecordAnalysisMode? analysisMode, required String? countryCode, required String? languageCode, required bool? includeNutriScore, required bool? includeDishDescription, required bool? includeIngredients, required List<
NutritionalField> ? includeNutritionFields}) -
NutritionalAnalysisConfig.fromJson(Map<
String, dynamic> json) -
factory
Properties
- analysisMode → NutritionRecordAnalysisMode?
-
final
- countryCode → String?
-
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- includeDishDescription → bool?
-
final
- includeIngredients → bool?
-
final
- includeNutriScore → bool?
-
final
-
includeNutritionFields
→ List<
NutritionalField> ? -
final
- languageCode → String?
-
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> -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited