reverse method

List<T> reverse()

Returns a new list with the elements in reverse order.

Implementation

List<T> reverse() {
  return List<T>.from(this).reversed.toList();
}