flushAll static method
Force-flushes all pending events (call on app lifecycle events).
Implementation
static Future<void> flushAll() async {
if (_pendingFlows.isNotEmpty || _pendingScreens.isNotEmpty) {
await _flush();
}
}
Force-flushes all pending events (call on app lifecycle events).
static Future<void> flushAll() async {
if (_pendingFlows.isNotEmpty || _pendingScreens.isNotEmpty) {
await _flush();
}
}