command property

dynamic command

{@linkcode Command} or identifier of a command to run on click.

The command must be {@link commands.getCommands known}.

Note that if this is a {@linkcode Command} object, only the {@linkcode Command.command command} and {@linkcode Command.arguments arguments} are used by the editor.

Implementation

_i2.dynamic get command => _i5.getProperty(
      this,
      'command',
    );
void command=(dynamic value)

Implementation

set command(_i2.dynamic value) {
  _i5.setProperty(
    this,
    'command',
    value,
  );
}