swap method

Resolvable<Some<T>> swap()

Implementation

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