removeChannel method
Stop managing and tracking a channel on this phoenix socket.
Used internally by PhoenixChannel to remove itself after leaving the channel.
Implementation
void removeChannel(PhoenixChannel channel) {
_logger.finer(() => 'Removing channel ${channel.topic}');
if (channels.remove(channel.topic) is PhoenixChannel) {
_topicStreams.remove(channel.topic);
}
}