startCommand method
Start a command.
Returns true
if the command was started.
Implementation
bool startCommand(final VoidCallback command) {
final index = _getCommandIndex(command);
if (commandIsRunning(command)) {
return false;
}
_running[index] = true;
if (!commandIsScheduled(command)) {
command();
_startCommandTimer(command);
}
return true;
}