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