getSessionsForPairing method
Implementation
@override
Map<String, SessionData> getSessionsForPairing({
required String pairingTopic,
}) {
_checkInitialized();
Map<String, SessionData> pairingSessions = {};
sessions
.getAll()
.where((session) => session.pairingTopic == pairingTopic)
.forEach((session) {
pairingSessions[session.topic] = session;
});
return pairingSessions;
}