swap method

Ok<Sync<T>> swap()

Implementation

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