*<Null safety>*
Comparator<R> compareBy <R>(T keyOf(R))
Comparator<R> compareBy<R>(T Function(R) keyOf) => (R a, R b) => this(keyOf(a), keyOf(b));