leave method

Future leave(
  1. String topicName,
  2. bool unsubscribe
)

Detach and optionally unsubscribe from the topic

Implementation

Future leave(String topicName, bool unsubscribe) {
  return _tinodeService.leave(topicName, unsubscribe);
}