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