flushPendingEvents static method
Flush any pending queued events (currently relevant for Android reliability layer)
Implementation
static Future<void> flushPendingEvents() async {
_checkInitialization();
try {
await _channel.invokeMethod('flushPendingEvents');
} catch (e) {
_log('Failed to flush pending events: $e', GoMailerLogLevel.warn);
}
}