notifyIndex top-level property

int notifyIndex
getter/setter pair

Index of the next effect to flush from queued.

Example:

while (notifyIndex < queuedLength) {
  final effect = queued[notifyIndex++]!;
  runEffect(effect);
}

Implementation

int notifyIndex = 0;