self property

ConnectionMetadata? get self

Implementation

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