unsubscribe method

  1. @override
void unsubscribe(
  1. String channel
)
override

Unsubscribe from channel

Implementation

@override
void unsubscribe(String channel) {
  _subscriptions.remove(channel);

  if (kDebugMode) {
    debugPrint('Unsubscribed from Firebase channel: $channel');
  }
}