lastBy<K> method
Null safety
- K key(
- 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);