ProductWeight.fromJson constructor

ProductWeight.fromJson(
  1. Map json_
)

Implementation

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