swap method

Async<Ok<T>> swap()

Implementation

@pragma('vm:prefer-inline')
Async<Ok<T>> swap() => unwrap().map((e) => Ok(e));