EnergyQuantity.fromJson constructor
EnergyQuantity.fromJson(
- Map json_
Implementation
EnergyQuantity.fromJson(core.Map json_)
: this(
kcal: (json_['kcal'] as core.num?)?.toDouble(),
userProvidedUnit: json_['userProvidedUnit'] as core.String?,
);