distinct method

List<T> distinct()

Implementation

List<T> distinct() => toSet().toList();