lastBy<K> method

Map<K, T> lastBy<K>(
  1. K key(
    1. T
    )
)

Associates the elements in this by the value returned by key.

Returns a map from keys computed by key to the last value for which key returns that key.

Implementation

Map<K, T> lastBy<K>(K Function(T) key) => functions.lastBy(this, key);