InAppPurchasesConfig constructor

const InAppPurchasesConfig({
  1. Uri getProductsListingApiEndpoint()?,
  2. List<PurchaseProductListing> getProductsListingResponseParser(
    1. String response
    )?,
  3. Uri purchaseVerificationApiEndpoint(
    1. Transaction transaction,
    2. Map<String, dynamic>? params
    )?,
  4. BaseRequest purchaseVerificationRequestMapper(
    1. Request request,
    2. Transaction transaction
    )?,
  5. bool completeWithoutVerifying = false,
  6. ProductItemTypeMapper? productTypeMapper,
  7. Logger? logger,
})

Implementation

const InAppPurchasesConfig({
  this.getProductsListingApiEndpoint,
  this.getProductsListingResponseParser,
  this.purchaseVerificationApiEndpoint,
  this.purchaseVerificationRequestMapper,
  this.completeWithoutVerifying = false,
  this.productTypeMapper,
  this.logger,
});