getBatchDepth function
Returns the current nested batch depth.
Each startBatch increments this counter and endBatch decrements it. Queued effects flush only when the depth returns to zero.
Implementation
int getBatchDepth() => batchDepth;
Returns the current nested batch depth.
Each startBatch increments this counter and endBatch decrements it. Queued effects flush only when the depth returns to zero.
int getBatchDepth() => batchDepth;