toJson method

Map<String, dynamic> toJson()

Implementation

Map<String, dynamic> toJson() {
  final json = <String, dynamic>{};
    json[r'publicId'] = this.publicId;
  if (this.quantity != null) {
    json[r'quantity'] = this.quantity;
  } else {
    json[r'quantity'] = null;
  }
    json[r'productType'] = this.productType;
    json[r'inputs'] = this.inputs;
  return json;
}