InflammatoryEffectData class

Represents a nutrient associated with an inflammatory effect score.

Constructors

InflammatoryEffectData(double amount, double inflammatoryEffectScore, String name, String unit)
Creates a new InflammatoryEffectData object.
const
InflammatoryEffectData.fromJson(Map<String, dynamic> json)
Creates a InflammatoryEffectData object from a JSON map.
factory

Properties

amount double
The amount of the nutrient.
final
hashCode int
Calculates the hash code for this InflammatoryEffectData object.
no setteroverride
inflammatoryEffectScore double
The score representing the nutrient's potential inflammatory effect.
final
name String
The name of the nutrient.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
unit String
The unit of measurement for the nutrient amount.
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Map<String, dynamic>
Converts the InflammatoryEffectData object to a JSON map.
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
Compares two InflammatoryEffectData objects for equality.
override