unwrapAsync method

  1. @unsafeOrError
Async<T> unwrapAsync()

Unsafely gets the Async instance. Throws if not an Async. @unsafeOrError

Implementation

@unsafeOrError
@pragma('vm:prefer-inline')
Async<T> unwrapAsync() => async().unwrap();