Quantity.fromJson constructor

Quantity.fromJson(
  1. Map<String, dynamic> json
)

General constructor from JSON payload

Implementation

Quantity.fromJson(Map<String, dynamic> json)
    : super.from(json, QuantityHarmonized.fromJson(json['harmonized']));