connectionStateChangeEvent constant Null safety

EventStreamProvider<Event> const connectionStateChangeEvent

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

See EventStreamProvider for usage information.

Implementation

static const EventStreamProvider<Event> connectionStateChangeEvent =
    const EventStreamProvider<Event>('connectionstatechange');