manualFlush method
void
manualFlush()
Checks if any flush policy is requesting a flush This is only intended for startup/initialization, all policy shouldFlush changes are already observed and reacted to.
This is for policies that might startup with a shouldFlush = true value
Implementation
void manualFlush() {
for (var policy in _policies) {
if (policy.shouldFlush) {
_onFlush();
break;
}
}
}