onDisconnected method
void
onDisconnected()
Called when the client is disconnected from the server.
Implementation
void onDisconnected() {}
Called when the client is disconnected from the server.
void onDisconnected() {}