flush method

void flush()

Manually flush the batch

Implementation

void flush() {
  for (final event in _batch) {
    event.send(_delegate);
  }
  _batch.clear();
  _batchStart = null;
}