reverse<T> function

List<T> reverse<T>(
  1. List<T> list
)

Implementation

List<T> reverse<T>(List<T> list) => list = list.reversed.toList();