removeAll method

ChipSuggestions<T> removeAll(
  1. Iterable<T>? chips
)

Implementation

ChipSuggestions<T> removeAll(Iterable<T>? chips) {
  final set = {...?chips};
  return ChipSuggestions(
      match: match,
      suggestions: [...suggestions!.where((s) => !set.contains(s))]);
}