eventsDispatched property Null safety

int eventsDispatched

The number of events dispatched by this queue.

This counts error events. It doesn't count done events, or events dispatched to a stream returned by rest.

Implementation

int get eventsDispatched => _eventsReceived - _eventQueue.length;