ifSync method
Performs a side-effect if this is a Sync.
Implementation
@override
@pragma('vm:prefer-inline')
Async<T> ifSync(
@noFuturesAllowed void Function(Sync<T> async) noFuturesAllowed,
) {
return this;
}
Performs a side-effect if this is a Sync.
@override
@pragma('vm:prefer-inline')
Async<T> ifSync(
@noFuturesAllowed void Function(Sync<T> async) noFuturesAllowed,
) {
return this;
}