commandIsRegistered method

bool commandIsRegistered(
  1. VoidCallback command
)

Returns a boolean indicating whether command is registered with this widget.

Implementation

bool commandIsRegistered(final VoidCallback command) =>
    _commands.contains(command);