removeDuplicates method

IList<T> removeDuplicates()

Removes duplicates (but keeps items which appear only once, plus the first time other items appear).

Implementation

IList<T> removeDuplicates() {
  LinkedHashSet<T> set = _l.toLinkedHashSet();
  return IList<T>.withConfig(set, config);
}