BillingClientManager constructor
BillingClientManager({
- @visibleForTesting BillingClientFactory? billingClientFactory,
Creates the BillingClientManager.
Immediately initializes connection to the underlying BillingClient.
Implementation
BillingClientManager(
{@visibleForTesting BillingClientFactory? billingClientFactory})
: _billingChoiceMode = BillingChoiceMode.playBillingOnly,
_billingClientFactory = billingClientFactory ?? _createBillingClient {
_connect();
}