void runUnaryGuarded<T>(void action(T argument), T argument)

Executes the given action with argument in this zone and catches synchronous errors.

See runGuarded.

Source

void runUnaryGuarded<T>(void action(T argument), T argument);