dispose method
Cancels websocket stream subscriptions and disposes localStorage
Implementation
@override
void dispose() {
localStorage.dispose();
callbacks = DOOCallbacks();
_presenceResetTimer?.cancel();
_publishPresenceTimer?.cancel();
_subscriptions.forEach((subs) {
subs.cancel();
});
}