maybeFlushSync method
Flushes when shouldFlush is true.
Implementation
bool maybeFlushSync() {
if (!shouldFlush) return false;
flushSync();
return true;
}
Flushes when shouldFlush is true.
bool maybeFlushSync() {
if (!shouldFlush) return false;
flushSync();
return true;
}