swap method

Sync<None<T>> swap()

Implementation

@pragma('vm:prefer-inline')
Sync<None<T>> swap() => None<T>().wrapInSync();