Subscriber class

Subscriber can be subscribed to subscription paths

Constructors

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

Properties

closed bool
no setter
hashCode int
The hash code for this object.
no setterinherited
hidden bool
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
stream Stream<Message>
no setter
streamData Stream
no setter

Methods

close() → void
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
subscribe(String topic) bool
subscribeMany(List<String> topics) → void
toString() String
A string representation of this object.
inherited
unsubscribe(String topic) bool
unsubscribeAll() → void
unsubscribeMany(List<String> topics) → void

Operators

operator ==(Object other) bool
The equality operator.
inherited