flush method

  1. @override
void flush()
override

Flush all data to external storage.

Implementation

@override
void flush() {
  _memoryPool.flush();
  _recordPool.flush();
  _header.write(_file);
  _file.flushSync();
}