peer property
ConnectionMetadata?
get
peer
Implementation
ConnectionMetadata? get peer {
if (sessionService.isCoinbase) {
return _coinbaseData?.peer;
}
if (sessionService.isMagic) {
return _magicData?.peer ??
ConnectionMetadata(
publicKey: '',
metadata: PairingMetadata(
name: 'Email Wallet',
description: '',
url: '',
icons: [],
),
);
}
return _sessionData?.peer;
}