KeyProvider<T> typedef

KeyProvider<T> = Object? Function(T o)

Returns a key-able object from o.

Must not return null, which is reserved to mean "no selection".

Implementation

typedef KeyProvider<T> = Object? Function(T o);