swap method

Tuple2<T2, T1> swap()

Swap types T1 and T2 of Tuple2.

Implementation

Tuple2<T2, T1> swap() => Tuple2(_value2, _value1);