peerId property

String get peerId

Returns the peer ID of this node.

Throws StateError if the network is not initialized (offline mode).

Implementation

String get peerId => _networkManager.peerId;