peerId property

String? get peerId

Identity and Path Getters Returns the peer ID if present

Implementation

/// Returns the peer ID if present
String? get peerId => valueForProtocol('p2p');