reversed 属性

Iterable<E> reversed

返回列表对象反序的 Iterable

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

实现

Iterable<E> get reversed;