removeDuplicateRefs<T extends Model> static method

List<T> removeDuplicateRefs<T extends Model>(
  1. Iterable<T> source
)

Returns a new list from source by removing duplicate keys equal to 'ref'.

Implementation

static List<T> removeDuplicateRefs<T extends Model>(
  Iterable<T> source,
) {
  return removeDuplicateProperties(source, 'ref');
}