reverse method

void reverse()

Reverses the List in-place.

Implementation

void reverse() => collection.reverse(this);