swap method

Ok<Some<T>> swap()

Implementation

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