getPendingEventsCount static method
Gets the total number of pending events
Implementation
static int getPendingEventsCount() {
try {
final events = _getAllEventsMap();
return events.length;
} catch (e) {
log('Error getting pending events count: $e');
return 0;
}
}