flush method
Cancels the write delay and waits for a current save.
Implementation
Future<void> flush() async {
_writeTimer?.cancel();
_writeTimer = null;
await save();
}
Cancels the write delay and waits for a current save.
Future<void> flush() async {
_writeTimer?.cancel();
_writeTimer = null;
await save();
}