onConnectionDone method Null safety

void onConnectionDone()
inherited

Implementation

void onConnectionDone() {
  log('Done, connection closed', initial: initialApp);
  isLoggedIn = false;
  _isConnected = false;
  if (!isSocketClosingExpected) {
    isSocketClosingExpected = true;
    onConnectionError('onDone not expected');
  }
}