unregisterJavaScriptMessageHandler method

  1. @override
void unregisterJavaScriptMessageHandler(
  1. String name
)
override

available: macOS

Implementation

@override
void unregisterJavaScriptMessageHandler(String name) {
  if (!Platform.isMacOS) {
    return;
  }
  if (_closed) {
    return;
  }
  channel.invokeMethod("unregisterJavaScripInterface", {
    "viewId": viewId,
    "name": name,
  });
}