restart method

void restart()

Implementation

void restart() {
  _key = UniqueKey();
  if (mounted) setState(() {});
}