EventStreamProvider<RtcDataChannelEvent> dataChannelEvent = const EventStreamProvider<RtcDataChannelEvent>('datachannel')

Static factory designed to expose datachannel events to event handlers that are not necessarily instances of RtcPeerConnection.

See EventStreamProvider for usage information.

Source

static const EventStreamProvider<RtcDataChannelEvent> dataChannelEvent =
    const EventStreamProvider<RtcDataChannelEvent>('datachannel')