BufferedDataHandler constructor
BufferedDataHandler(})
Creates a BufferedDataHandler that handles the data buffering and delayed processing.
_addDataFunction
Function to handle data adding.
interval
Time interval in milliseconds for transmitting buffered data.
Implementation
BufferedDataHandler(
this._addDataFunction, {
this.interval = const Duration(seconds: 1),
});