swap method

Ok<Sync<T>> swap()

Implementation

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