EnergyQuantity.fromJson constructor

EnergyQuantity.fromJson(
  1. Map json_
)

Implementation

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