emitCommand abstract method

FutureOr<void> emitCommand(
  1. RemoteCommand command
)

Emit a command.

This method can be used to emit a command to any widgets that are listening for commands. The command will be sent to all widgets that are listening.

The method takes a single parameter of type RemoteCommand which is the command to be emitted.

Implementation

FutureOr<void> emitCommand(RemoteCommand command);