RestartAppStep function
Implementation
StepDefinitionGeneric RestartAppStep() {
return given<FlutterWorld>(
'I restart the app',
(context) async {
await context.world.restartApp(
timeout: context.configuration?.timeout,
);
},
);
}