addTrackEvent constant

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

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')