dispose method
Releases any resources (subscriptions, clients) held for path.
Called when the chat page is disposed.
Implementation
@override
void dispose(String path) {
final channel = _channels.remove(path);
if (channel != null) {
_client.removeChannel(channel);
}
}