restart method

Future<void> restart()

Implementation

Future<void> restart() async {
  await dispose();
  await init();
}