disconnect method
Disconnect from the Echo server.
Implementation
@override
void disconnect() {
for (var migration in migrations) {
migration.delete();
}
migrations.clear();
if (ClientType == Socket) {
_socketInstance = null;
} else if (ClientType == PusherClient) {
_pusherInstance = null;
}
super.disconnect();
}