flush method
void
flush()
Flush dirty data to disk. Call periodically or before close.
Implementation
void flush() {
_flushTimer?.cancel();
_flushTimer = null;
_flushToDisk();
}
Flush dirty data to disk. Call periodically or before close.
void flush() {
_flushTimer?.cancel();
_flushTimer = null;
_flushToDisk();
}