remove method

void remove(
  1. RealtimeSubscription channel
)

Removes a subscription from the socket.

Implementation

void remove(RealtimeSubscription channel) {
  channels = channels.where((c) => c.joinRef() != channel.joinRef()).toList();
}