Subscriber constructor

Subscriber(
  1. List<String> topics, {
  2. bool hidden = false,
})

Implementation

Subscriber(List<String> topics, {this.hidden = false}) {
  _stc = StreamController();
  _stc.onCancel = () {
    close();
  };
  subscribeMany(topics);
}