toJson method
Implementation
core.Map<core.String, core.dynamic> toJson() {
final productId = this.productId;
final quantity = this.quantity;
final unitPrice = this.unitPrice;
return {
'productId': ?productId,
'quantity': ?quantity,
'unitPrice': ?unitPrice,
};
}