PeerConnected constructor

const PeerConnected(
  1. PeerId peer
)

Creates the event.

Implementation

const PeerConnected(this.peer);