flushEffects function
void
flushEffects()
Flush all queued effects
Implementation
@pragma('vm:prefer-inline')
@pragma('wasm:prefer-inline')
@pragma('dart2js:prefer-inline')
void flushEffects() {
while (notifyIndex < queuedLength) {
final effect = queued[notifyIndex]!;
queued[notifyIndex++] = null;
effect.runEffect();
}
notifyIndex = 0;
queuedLength = 0;
}