contains method

bool contains({
  1. required String command,
  2. required SystemShell systemShell,
})

Whether the command is contained in systemShell.

Implementation

bool contains({required String command, required SystemShell systemShell}) {
  if (containsKey(systemShell)) {
    return this[systemShell]!.contains(command);
  }
  return false;
}