AdministrationQuantity.fromJSON constructor
Implementation
factory AdministrationQuantity.fromJSON(Map<String, dynamic> data) {
return AdministrationQuantity(
quantity: (data["quantity"] as num?)?.toDouble(),
administrationUnit: data["administrationUnit"] == null ? null : CodeStub.fromJSON(data["administrationUnit"]),
unit: (data["unit"] as String?)
);
}