Skip to content
This repository was archived by the owner on Feb 22, 2023. It is now read-only.
Prev Previous commit
Next Next commit
Update packages/in_app_purchase/in_app_purchase_storekit/lib/src/type…
…s/app_store_purchase_param.dart

Co-authored-by: Chris Yang <[email protected]>
  • Loading branch information
stuartmorgan-g and Chris Yang authored Jun 22, 2022
commit 402eceea17cb25162c73f68a8c33c279fc5229f7
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,6 @@ class AppStorePurchaseParam extends PurchaseParam {
/// See also [SKPaymentWrapper.simulatesAskToBuyInSandbox].
final bool simulatesAskToBuyInSandbox;

/// Quantity of the product user requested to buy
/// Quantity of the product user requested to buy.
int quantity;
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This should be final (unless there's a compelling reason it shouldn't be that I'm missing context for).

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

OK, I've made the quantity param final in my last commit.

}