Substanceproduct.fromJSON constructor
Substanceproduct.fromJSON(
- Map<String, dynamic> data
)
Implementation
factory Substanceproduct.fromJSON(Map<String, dynamic> data) {
return Substanceproduct(
intendedcds: (data["intendedcds"] as List<dynamic>).map((x0) => CodeStub.fromJSON(x0) ).toList(),
deliveredcds: (data["deliveredcds"] as List<dynamic>).map((x0) => CodeStub.fromJSON(x0) ).toList(),
intendedname: (data["intendedname"] as String?),
deliveredname: (data["deliveredname"] as String?),
productId: (data["productId"] as String?)
);
}