runGuarded method
void
runGuarded(
- void callback()
Executes callback
function synchronously within this zone.
This API is identical to run, except that synchronous errors that are thrown will also be reported via the onUncaughtError stream (and eventually the application exception handler).
Implementation
void runGuarded(void Function() callback) {
return _innerZone.runGuarded(callback);
}