subscribe method
Subscribe to channel
Implementation
@override
void subscribe(String channel, void Function(dynamic data) onData) {
_subscriptions.putIfAbsent(channel, () => []);
_subscriptions[channel]!.add(onData);
if (kDebugMode) {
debugPrint('Subscribed to channel: $channel');
}
}