endedEvent constant Null safety

EventStreamProvider<Event> const endedEvent

Static factory designed to expose ended events to event handlers that are not necessarily instances of MediaStreamTrack.

See EventStreamProvider for usage information.

Implementation

static const EventStreamProvider endedEvent =
    const EventStreamProvider('ended')