setBillingChoice method
Disconnects, sets AlternativeBillingOnly to true, and reconnects to the BillingClient.
BillingChoiceMode.playBillingOnly is the default state used. BillingChoiceMode.alternativeBillingOnly will enable alternative billing only.
Play apis have requirements for when this method can be called. See: https://developer.android.com/google/play/billing/alternative/alternative-billing-without-user-choice-in-app
Implementation
Future<void> setBillingChoice(BillingChoiceMode billingChoiceMode) {
return _billingClientManager
.reconnectWithBillingChoiceMode(billingChoiceMode);
}