Pairing constructor
Implementation
Pairing({required this.core, Logger? logger})
: logger = logger ?? Logger(),
events = EventEmitter(),
pairings = Store(
core: core,
logger: logger,
name: PAIRING_CONTEXT,
storagePrefix: CORE_STORAGE_PREFIX,
fromJson: (v) => PairingStruct.fromJson(v),
toJson: (v) => v.toJson(),
),
_initialized = false,
_registeredMethods = [];