distinct method

List<T> distinct()

Implementation

List<T> distinct() => distinctBy((t) => t);