getAll method
Returns all the registered extension commands for this extension and their
shortcut (if active). Before Chrome 110, this command did not return
_execute_action.
returns Resolves with a list of the registered commands.
Implementation
Future<List<Command>> getAll() async {
var $res = await $js.chrome.commands.getAll().toDart;
return $res.toDart
.cast<$js.Command>()
.map((e) => Command.fromJS(e))
.toList();
}