removeAll method
Removes all context menu items added by this extension.
returns
Called when removal is complete.
Implementation
Future<void> removeAll() {
var $completer = Completer<void>();
$js.chrome.contextMenus.removeAll(() {
if (checkRuntimeLastError($completer)) {
$completer.complete(null);
}
}.toJS);
return $completer.future;
}