Subscriber class
- Implemented types
- Mixed-in types
Constructors
- Subscriber({required IRelayer relayer, Logger? logger})
Properties
-
events
→ EventEmitter<
String> -
final
- hashCode → int
-
The hash code for this object.
no setterinherited
-
ids
→ List<
String> -
no setteroverride
- length → int
-
no setteroverride
- logger → Logger
-
final
- name → String
-
final
-
pending
→ Map<
String, SubscriberParams> -
final
- relayer → IRelayer
-
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- storageKey → String
-
no setter
- storagePrefix → String
-
final
-
subscriptions
→ Map<
String, SubscriberActive> -
final
- topicMap → ISubscriberTopicMap
-
final
-
topics
→ List<
String> -
no setteroverride
-
values
→ List<
SubscriberActive> -
no setteroverride
- version → String
-
final
Methods
-
init(
) → Future< void> -
override
-
isSubscribed(
String topic) → Future< bool> -
override
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
off(
Listener< String> ? listener) → void -
inherited
-
on(
String event, EventCallback callback) → Listener< String> -
inherited
-
once(
String event, EventCallback callback) → Listener< String> -
inherited
-
removeListener(
String eventName, EventCallback callback) → void -
inherited
-
subscribe(
String topic, {RelayerSubscribeOptions? opts}) → Future< String> -
override
-
toString(
) → String -
A string representation of this object.
inherited
-
unsubscribe(
String topic, {RelayerUnsubscribeOptions? opts}) → Future< void> -
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited