array/uniq_by library

Functions

uniqBy<T, V>(List<T> array, V iteratee(T)) List<T>
Returns a new array with unique elements, where uniqueness is determined by the result of invoking the provided iteratee function on each element.