MethodChannelBtcPurchase constructor

MethodChannelBtcPurchase()

Implementation

MethodChannelBtcPurchase() {
  methodChannel.setMethodCallHandler((MethodCall call) async {
    if (call.method == 'onPurchaseSuccess') {
      listener?.OnPurchaseListener();
    }
  });
}