inAppPurchase static method

void inAppPurchase(
  1. String eventName,
  2. SingularIAP purchase
)

Implementation

static void inAppPurchase(String eventName, SingularIAP purchase) {
  _channel.invokeMethod(
      'eventWithArgs', {'eventName': eventName, 'args': purchase.toMap});
}