dynamic runUnaryGuarded(dynamic f(arg), arg)

Executes the given callback f in this zone.

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

Source

dynamic runUnaryGuarded(f(arg), var arg);