LinkFivePurchasesImpl.testing constructor
LinkFivePurchasesImpl.testing({
- required InAppPurchase inAppPurchaseInstance,
- LinkFiveClientInterface? linkFiveClient,
- LinkFiveBillingClientInterface? linkFiveBillingClient,
TEST CONSTRUCTOR. Please do not use.
Implementation
@visibleForTesting
LinkFivePurchasesImpl.testing(
{required this.inAppPurchaseInstance,
LinkFiveClientInterface? linkFiveClient,
LinkFiveBillingClientInterface? linkFiveBillingClient}) {
// switching linkFiveClient if exists
if (linkFiveClient != null) {
_client = linkFiveClient;
}
if (linkFiveBillingClient != null) {
_billingClient = linkFiveBillingClient;
}
}