peer property

ConnectionMetadata? get peer

Implementation

ConnectionMetadata? get peer {
  if (sessionService.isCoinbase) {
    return _coinbaseData?.peer;
  }
  if (sessionService.isMagic) {
    return _magicData?.peer;
  }
  return _sessionData?.peer;
}