flip method

Vector flip()

Flips elements of the vector.

Implementation

Vector flip() {
  var newData = _data.reversed.toList();
  return Vector.fromList(newData);
}