RequestPurchaseProps.inApp constructor

const RequestPurchaseProps.inApp(
  1. ({RequestPurchaseIosProps? apple, RequestPurchaseAndroidProps? google, bool? useAlternativeBilling}) props
)

Per-platform purchase request props

Implementation

const factory RequestPurchaseProps.inApp(({
  RequestPurchaseIosProps? apple,
  RequestPurchaseAndroidProps? google,
  /// This flag only logs debug info and has no effect on the purchase flow.
  /// @deprecated Use enableBillingProgramAndroid in InitConnectionConfig instead. Scheduled for removal in OpenIAP 3.0.
  bool? useAlternativeBilling,
}) props) = _InAppPurchase;