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 => ReversedListIterable<E>(this);