trackEvent constant Null safety

EventStreamProvider<RtcTrackEvent> const trackEvent

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

See EventStreamProvider for usage information.

Implementation

static const EventStreamProvider<RtcTrackEvent> trackEvent =
    const EventStreamProvider<RtcTrackEvent>('track')