restart method

Future<void> restart()

Restart the connection

Implementation

Future<void> restart() async {
  await disconnect();
  await connect();
}