close method

Future<Null> close()

Close the Webview Will trigger the onDestroy event

Implementation

Future<Null> close() async {
  _javascriptChannels.clear();
  await _channel.invokeMethod('close');
}