reversed property
- @Deprecated('It duplicates the \'inverse\' ' 'from the \'package:collection\' and will be removed in v2.0.0')
Returns a new Comparator that compares the elements in the reversed order.
For example, if this comparator compares the elements in the ascending order, the reversed comparator will compare the elements in the descending order.
Implementation
@Deprecated('It duplicates the \'inverse\' '
'from the \'package:collection\' and will be removed in v2.0.0')
Comparator<T> get reversed => (a, b) => call(b, a);