dataChannelEvent constant Null safety

EventStreamProvider<RtcDataChannelEvent> const dataChannelEvent

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

See EventStreamProvider for usage information.

Implementation

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