addTrackEvent constant Null safety

EventStreamProvider<Event> const addTrackEvent

Static factory designed to expose addtrack events to event handlers that are not necessarily instances of MediaStream.

See EventStreamProvider for usage information.

Implementation

static const EventStreamProvider<Event> addTrackEvent =
    const EventStreamProvider<Event>('addtrack')