unsubscribe method

Future<void> unsubscribe(
  1. String topic
)

Returns a Future that completes when the node unsubscribes from a PubSub topic.

Implementation

Future<void> unsubscribe(String topic) => _protocolManager.unsubscribe(topic);