reconnect method

void reconnect()

Implementation

void reconnect() async {
  if (connector != null) {
    connector!();
  }
}