toJson method

  1. @override
Map<String, Object?> toJson()

Implementation

@override
Map<String, Object?> toJson() => {
      "price_id": encodeValue(priceId),
      "product_id": encodeValue(productId),
      "quantity": encodeValue(quantity),
    };