reconnect method Null safety

Future<void> reconnect()

Implementation

Future<void> reconnect() async {
  await engine.restartConnection();
}