onConnectionDone method
void
onConnectionDone()
inherited
Informs about a closed connection
Implementation
void onConnectionDone() {
logApp('Done, connection closed');
isLoggedIn = false;
_isConnected = false;
_failGreeting('connection closed before server greeting');
if (!isSocketClosingExpected) {
isSocketClosingExpected = true;
onConnectionError('onDone not expected');
}
}