onDataChannel property

Stream<RtcDataChannelEvent> onDataChannel
@DocsEditable(), @DomName('RTCPeerConnection.ondatachannel')

Stream of datachannel events handled by this RtcPeerConnection.

Implementation

@DomName('RTCPeerConnection.ondatachannel')
@DocsEditable()
Stream<RtcDataChannelEvent> get onDataChannel =>
    dataChannelEvent.forTarget(this);