without method

List<CommandDefinition> without(
  1. Set<String> names
)

Return a new list with the named commands removed.

Implementation

List<CommandDefinition> without(Set<String> names) =>
    where((c) => !names.contains(c.name)).toList();