hasPendingEvents method
Check if there are any pending dispatchEvent operations
Implementation
bool hasPendingEvents() => _pendingDispatchEvents.isNotEmpty;
Check if there are any pending dispatchEvent operations
bool hasPendingEvents() => _pendingDispatchEvents.isNotEmpty;