buySKU static method
Initiate a Google Play Billing or Apple StoreKit purchase using
skuId
from a NamiSKU
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']);
}