configure abstract method

void configure({
  1. required Set<String> productIds,
  2. required dynamic onDetailsFetched(
    1. List<PurchaseDetails>?
    ),
})

Initializes the in-app purchase system.

Retrieves product details and sets up purchase handling.

  • productIds Set of product identifiers to fetch details for.
  • onDetailsFetched Callback when products are fetched.

Implementation

/// * [productIds] Set of product identifiers to fetch details for.
/// * [onDetailsFetched] Callback when products are fetched.

void configure({
  required Set<String> productIds,
  required Function(List<PurchaseDetails>?) onDetailsFetched,
});