invalidEvent constant Null safety

EventStreamProvider<Event> const invalidEvent

Static factory designed to expose invalid events to event handlers that are not necessarily instances of Element.

See EventStreamProvider for usage information.

Implementation

static const EventStreamProvider invalidEvent =
    const EventStreamProvider('invalid')