MobilePurchaseMasamuneAdapter constructor
const
MobilePurchaseMasamuneAdapter({})
Initial setup for handling InAppPurchase on mobile MasamuneAdapter.
Define all billable items to be used in the app in products.
モバイルでのInAppPurchaseを取り扱うための初期設定を行うMasamuneAdapter。
productsにアプリ内で利用するすべての課金用のアイテムを定義してください。
Implementation
const MobilePurchaseMasamuneAdapter({
super.functionsAdapter,
super.modelAdapter,
required super.products,
this.automaticallyConsumeOnAndroid = true,
this.iosSandboxTesting = false,
required super.onRetrieveUserId,
super.purchase,
super.initializeOnBoot = false,
});