inBatchSync method Null safety
- void fn(
Runs a group of database operations in a batch, synchronously.
Use this when performance bulk write operations like multiple inserts/updates; it saves the overhead of multiple database commits, greatly improving performance.
Implementation
void inBatchSync(void Function() fn);