RestartAppStep function

StepDefinitionGeneric<World> RestartAppStep()

Implementation

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