addStreamEvent constant Null safety

EventStreamProvider<MediaStreamEvent> const addStreamEvent

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

See EventStreamProvider for usage information.

Implementation

static const EventStreamProvider addStreamEvent =
    const EventStreamProvider('addstream')