hasPendingEvents property Null safety

bool hasPendingEvents

Returns true if a call to sample can dispatch more events.

Implementation

bool get hasPendingEvents => _queuedEvents.isNotEmpty;