UniqueExtension<E> extension
- on
-
- Iterable<
E>
- Iterable<
Methods
-
unique(
{bool equals(E e1, E e2)?, int hashCode(E e)?}) → Iterable< E> -
Returns a lazy iterable that filters out duplicates from this Iterator.
If
equals
andhashCode
are omitted, the iterator uses the objects' intrinsic Object.operator== and Object.hashCode for comparison.