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

/**
 * Executes the given callback [f] in this zone.
 *
 * Same as [runUnary] but catches uncaught errors and gives them to
 * [handleUncaughtError].
 */
dynamic runUnaryGuarded(f(arg), var arg);