reverseOrder<T> function Null safety

Comparator<T> reverseOrder<T>()

Returns a comparator that compares Comparable objects in reversed natural order.

Implementation

Comparator<T> reverseOrder<T>() => _reverseOrder as Comparator<T>;