flush method
Manually flush all queued events
Implementation
Future<void> flush() async {
if (_eventQueue.isNotEmpty) {
await _sendBatchEvents(List.from(_eventQueue));
_eventQueue.clear();
}
}
Manually flush all queued events
Future<void> flush() async {
if (_eventQueue.isNotEmpty) {
await _sendBatchEvents(List.from(_eventQueue));
_eventQueue.clear();
}
}