Serving.fromJson constructor

Serving.fromJson(
  1. Map json_
)

Implementation

Serving.fromJson(core.Map json_)
  : this(
      amount: (json_['amount'] as core.num?)?.toDouble(),
      foodMeasurementUnit: json_['foodMeasurementUnit'] as core.String?,
      foodMeasurementUnitDisplayName:
          json_['foodMeasurementUnitDisplayName'] as core.String?,
    );