toJson method
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;
}
if (this.inputs != null) {
json[r'inputs'] = this.inputs;
} else {
json[r'inputs'] = null;
}
return json;
}