unique method

List<Element> unique(
  1. List<Element> elements
)

Return a sorted List of elements with duplicated items removed.

Implementation

static List<Element> unique(List<Element> elements) => _unique(elements);