terminate method

Future<bool> terminate(
  1. int processId
)

Terminates the specified renderer process. Equivalent to visiting about:crash, but without changing the tab's URL. |processId|: The ID of the process to be terminated.

Implementation

Future<bool> terminate(int processId) async {
  var $res = await $js.chrome.processes.terminate(processId).toDart;
  return $res.toDart;
}