swap method

Resolvable<Some<T>> swap()

Implementation

@pragma('vm:prefer-inline')
Resolvable<Some<T>> swap() => unwrap().then(Some.new);