dispose method
Dispose of this object and cancel all subscriptions
Implementation
@override
void dispose() {
// Fire off disconnect but don't await since dispose is synchronous
disconnect().catchError((e) {
logError('Error during dispose: $e');
});
super.dispose();
}