flipped property

Pair<B, A> get flipped

gets a copy of this pair with values flipped

Implementation

Pair<B, A> get flipped => Pair($2, $1);