declare<T> method
Runs body with this declarer as Declarer.current.
Returns the return value of body.
Implementation
T declare<T>(T Function() body, {Map<Symbol, Object?>? zoneValues}) =>
runZoned(body, zoneValues: {#test.declarer: this, ...?zoneValues});