clearPendingEvents method

Future<void> clearPendingEvents()

Clear all pending events (use with caution)

Implementation

Future<void> clearPendingEvents() async {
  _pendingEvents.clear();
  await _savePendingEvents();
  debugPrint('Cleared all pending events');
}