apply<R> method

R apply<R>(
  1. R body()
)

Runs body with these settings in effect, and returns its result.

Implementation

R apply<R>(R Function() body) => runZoned(body, zoneValues: {_key: this});