restart static method

void restart(
  1. BuildContext context
)

Reloads the app

Implementation

static void restart(BuildContext context) {
  context.findAncestorStateOfType<_LocalizedAppState>()!.restart();
}