purchaseViaPlayBilling method
Android peer of purchaseViaStoreKit. Routes through the Google Play
Billing dialog and returns the resulting CheckoutTransaction shape
(source == "play_store").
Implementation
@override
Future<Map<String, dynamic>> purchaseViaPlayBilling({
required String productId,
}) async {
final result = await methodChannel.invokeMethod<Map>('purchaseViaPlayBilling', {
'productId': productId,
});
return Map<String, dynamic>.from(result!);
}