remove method

  1. @internal
void remove(
  1. RealtimeChannel channel
)

Removes a subscription from the socket.

Implementation

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