startBatch function
void
startBatch()
Begins a batch so multiple writes can be coalesced before effects run.
Implementation
@pragma("vm:prefer-inline")
@pragma("wasm:prefer-inline")
@pragma("dart2js:prefer-inline")
void startBatch() {
++batchDepth;
}