InAppPurchaseAndroidPlatformAddition constructor

InAppPurchaseAndroidPlatformAddition(
  1. BillingClientManager _billingClientManager
)

Creates a InAppPurchaseAndroidPlatformAddition which uses the supplied BillingClientManager to provide Android specific features.

Implementation

InAppPurchaseAndroidPlatformAddition(this._billingClientManager) {
  _billingClientManager.userChoiceDetailsStream
      .map(Translator.convertToUserChoiceDetails)
      .listen(_userChoiceDetailsStreamController.add);
}