brandPayWebPageJavascriptChannels method

Set<JavascriptChannel> brandPayWebPageJavascriptChannels(
  1. BuildContext context
)

Implementation

Set<JavascriptChannel> brandPayWebPageJavascriptChannels(BuildContext context) => {
      JavascriptChannel(
          name: "evaluateJavascriptOnPaymentMethodWidget",
          onReceived: (jsonObject) async {
            Navigator.pop(context, jsonObject['script']);
          })
    };