registerCommand method
Registers a command that can be invoked via a keyboard shortcut, a menu item, an action, or directly.
Registering a command with an existing command identifier twice will cause an error.
Implementation
_i3.Disposable registerCommand(
_i2.String command,
_i2.dynamic Function([_i2.Iterable<_i2.dynamic>?]) callback, [
_i2.dynamic thisArg,
]) =>
_i4.callMethod(
this,
'registerCommand',
[
command,
_i4.allowInterop(([
a0,
a1,
a2,
a3,
a4,
a5,
a6,
a7,
a8,
a9,
]) =>
callback([
a0,
a1,
a2,
a3,
a4,
a5,
a6,
a7,
a8,
a9,
])),
thisArg,
],
);