swap method

Err<Ok<T>> swap()

Implementation

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