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 dataChannelEvent =
    const EventStreamProvider('datachannel')