toJson method

Map<String, dynamic> toJson()

Implementation

Map<String, dynamic> toJson() {
  final json = <String, dynamic>{};
  json[r'intendedcds'] = intendedcds;
  json[r'deliveredcds'] = deliveredcds;
  if (intendedname != null) {
    json[r'intendedname'] = intendedname;
  }
  if (deliveredname != null) {
    json[r'deliveredname'] = deliveredname;
  }
  if (productId != null) {
    json[r'productId'] = productId;
  }
  return json;
}