rebirth static method Null safety

dynamic rebirth(
  1. BuildContext context
)

Implementation

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