rebirth static method

dynamic rebirth(
  1. BuildContext context
)

Implementation

static rebirth(BuildContext context) {
  context.findAncestorStateOfType<_PhoenixState>()!.restartApp();
}