ifAsync method

  1. @override
Sync<T> ifAsync(
  1. @noFuturesAllowed void noFuturesAllowed(
    1. Async<T> async
    )
)
override

Performs a side-effect if this is an Async.

Implementation

@override
@pragma('vm:prefer-inline')
Sync<T> ifAsync(
  @noFuturesAllowed void Function(Async<T> async) noFuturesAllowed,
) => this;