batch method

void batch(
  1. void fn()
)

Implementation

void batch(void Function() fn) {
  if (_group != null) {
    _group!.batch(fn);
    return;
  }
  _batchSelf(fn);
}