unsubscribe abstract method

Future<void> unsubscribe([
  1. List<String> channels = const []
])

Unsubscribes the client from the given channels, or all channels if none are given.

The Future completes when the server confirms the unsubscription.

Implementation

Future<void> unsubscribe([List<String> channels = const []]);