PeerEvent.onConnect constructor

const PeerEvent.onConnect()

Implementation

const factory PeerEvent.onConnect() = PeerOnConnectEvent;