addTrackEvent constant

EventStreamProvider<TrackEvent> const addTrackEvent

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

See EventStreamProvider for usage information.

Implementation

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