restart property

void Function(String state) restart
getter/setter pair

What a missed heartbeat does. Exits 70 by default -- EX_SOFTWARE, so a supervisor with restart-on-failure starts the app again.

Implementation

static void Function(String reason) restart = _exitForSupervisor;