reversed property

  1. @override
Iterable<E> get reversed
override

An Iterable of the objects in this list in reverse order.

final numbers = <String>['two', 'three', 'four'];
final reverseOrder = numbers.reversed;
print(reverseOrder.toList()); // [four, three, two]

Implementation

@override
Iterable<E> get reversed => elements.reversed;