buySku static method
Initiate a Google Play Billing or Apple StoreKit purchase using
skuId
from a NamiSKU. Used by the linked paywall use case only.
Implementation
static Future<NamiPurchaseCompleteResult> buySku(String skuId) async {
Map<dynamic, dynamic> map = await channel.invokeMethod("buySku", skuId);
return NamiPurchaseCompleteResult(
(map['purchaseState'] as String)._toNamiPurchaseState(), map['error']);
}