flush method

void flush()

Implementation

void flush() {
  if (_accumulator.isNotEmpty) {
    _dataController.add(Uint8List.fromList(_accumulator));
    _accumulator.clear();
  }
}