reversed property

Iterable<E>? get reversed

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

Iterable<E>? get reversed => value?.reversed;