swap method

Err<Some<T>> swap()

Implementation

@pragma('vm:prefer-inline')
Err<Some<T>> swap() => unwrap().transfErr<Some<T>>();