isSilentCommand function

bool isSilentCommand(
  1. String command
)

Check if a command is expected to be silent.

Implementation

bool isSilentCommand(String command) {
  final base = command.trim().split(RegExp(r'\s+')).first;
  return _silentCommands.contains(base);
}