removeJavascriptChannels method

  1. @override
Future<void> removeJavascriptChannels(
  1. Set<String> javascriptChannelNames
)
override

Removes JavaScript channel names from the set of enabled channels.

This disables channels that were previously enabled by addJavascriptChannels or through CreationParams.javascriptChannelNames.

Implementation

@override
Future<void> removeJavascriptChannels(Set<String> javascriptChannelNames) {
  return _channel.invokeMethod<void>(
      'removeJavascriptChannels', javascriptChannelNames.toList());
}