restartApp<T> static method
Implementation
static Future<void> restartApp<T>(T configuration) async {
final state = _RestartWidgetState.global.currentContext
?.findAncestorStateOfType<_RestartWidgetState<T>>();
await state?.restartApp(configuration);
}