peerId property

String get peerId

Returns the peer ID of this node.

Returns 'offline' if the network is not initialized.

Implementation

String get peerId => _networkManager.peerId;