restart method

void restart(
  1. BuildContext context
)

reloads the app

Implementation

void restart(BuildContext context) => NyApp.restart(context);