attachWebInterface method

Future<void> attachWebInterface(
  1. int webViewIdentifier,
  2. void onCloseRequested()?
)

Hands the native WebView identified by webViewIdentifier to the native SDK's own FanmeterWebInterface, which installs the window.FanmeterBridge bridge on it. onCloseRequested is invoked when the web layer calls closeWebView().

Implementation

Future<void> attachWebInterface(int webViewIdentifier, void Function()? onCloseRequested) {
    throw UnimplementedError('attachWebInterface() has not been implemented.');
}