runGuarded method

Executes the given function f in this zone.

dynamic runGuarded(
dynamic f()
)

Executes the given function f in this zone.

Same as run but catches uncaught errors and gives them to handleUncaughtError.