UniqueExtension<E> extension

on

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 and hashCode are omitted, the iterator uses the objects' intrinsic Object.operator== and Object.hashCode for comparison.