encode static method

Map<String, dynamic> encode(
  1. Substanceproduct value
)

Implementation

static Map<String, dynamic> encode(Substanceproduct value) {
	Map<String, dynamic> entityAsMap = {
		"intendedcds" : value.intendedcds.map((x0) => CodeStub.encode(x0)).toList(),
		"deliveredcds" : value.deliveredcds.map((x0) => CodeStub.encode(x0)).toList(),
		"intendedname" : value.intendedname,
		"deliveredname" : value.deliveredname,
		"productId" : value.productId
	};
	return entityAsMap;
}