commandIsRegistered method

bool commandIsRegistered(
  1. VoidCallback command
)

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

Implementation

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