ProductDimension.fromJson constructor

ProductDimension.fromJson(
  1. Map json_
)

Implementation

ProductDimension.fromJson(core.Map json_)
    : this(
        unit: json_['unit'] as core.String?,
        value: (json_['value'] as core.num?)?.toDouble(),
      );