IRelayer class abstract

Mixed-in types
Implementers

Constructors

IRelayer()

Properties

connected bool
no setter
connecting bool
no setter
core ICore
no setter
events EventEmitter<String>
no setterinherited
hashCode int
The hash code for this object.
no setterinherited
logger Logger?
no setter
messages IMessageTracker
no setter
name String
no setter
projectId String?
no setter
provider IJsonRpcProvider
no setter
publisher IPublisher
no setter
relayUrl String?
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
subscriber ISubscriber
no setter
transportExplicitlyClosed bool
no setter

Methods

init() Future<void>
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
publish({required String topic, required String message, RelayerPublishOptions? opts}) Future<void>
removeListener(String eventName, EventCallback callback) → void
inherited
subscribe({required String topic, RelayerSubscribeOptions? opts}) Future<String>
toString() String
A string representation of this object.
inherited
transportClose() Future<void>
transportOpen({String? relayUrl}) Future<void>
unsubscribe({required String topic, RelayerUnsubscribeOptions? opts}) Future<void>

Operators

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