swap method

Ok<Resolvable<T>> swap()

Implementation

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