operator - method

List<E> operator -(
  1. Iterable<E> other
)

Returns an List containing all elements of the original collection except the elements contained in the other collection.

Implementation

List<E> operator -(Iterable<E> other) => whereNot(other.contains).toList();