unique property

List<T> unique

Returns a new list containing only the unique elements from the original list.

Implementation

List<T> get unique => toSet().toList();