Pairing class

Implemented types
Mixed in types

Constructors

Pairing({required ICore core, Logger? logger})

Properties

core ICore
final
events EventEmitter<String>
final
FIVE_MINUTES int
final
hashCode int
The hash code for this object.
no setterinherited
logger Logger
final
name String
final
pairings IStore<String, PairingStruct>
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
storagePrefix String
final
THIRTY_DAYS int
final
version String
final

Methods

activate({required String topic}) Future<void>
override
create() Future<PairingCreated>
override
disconnect({required String topic}) Future<void>
override
getPairings() List<PairingStruct>
override
init() Future<void>
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
pair({required String uri, bool activatePairing = false}) Future<PairingStruct>
override
ping({required String topic}) Future<void>
override
register(List<String> methods) → void
override
removeListener(String eventName, EventCallback callback) → void
inherited
toString() String
A string representation of this object.
inherited
updateExpiry({required String topic, required int expiry}) Future<void>
override
updateMetadata({required String topic, required AppMetadata metadata}) Future<void>
override

Operators

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