QueueFlushingPlugin constructor

QueueFlushingPlugin(
  1. OnFlush _onFlush
)

@param onFlush callback to execute when the queue is flushed (either by reaching the limit or manually) e.g. code to upload events to your destination

Implementation

QueueFlushingPlugin(this._onFlush) : super(PluginType.after);