EcoscoreData class

Inheritance

Constructors

EcoscoreData({String? grade, double? score, EcoscoreStatus? status, Agribalyse? agribalyse, EcoscoreAdjustments? adjustments, bool missingDataWarning = false})
EcoscoreData.fromJson(Map<String, dynamic> json)
factory

Properties

adjustments EcoscoreAdjustments?
getter/setter pair
agribalyse Agribalyse?
getter/setter pair
grade String?
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
missingDataWarning bool
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
score double?
getter/setter pair
status EcoscoreStatus?
getter/setter pair

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toData() Map<String, String>
inherited
toJson() Map<String, dynamic>
override
toString() String
A string representation of this object.
inherited
toValueString() String
Returns all values as a String separated by a hyphen value1 - value2 - value3
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited

Static Methods

toJsonHelper(EcoscoreData? d) Map<String, dynamic>?