batch method

Future<void> batch(
  1. void executor(
    1. BatchTableWithConverter<T> batch
    )
)

Implementation

Future<void> batch(void Function(BatchTableWithConverter<T> batch) executor) {
  return table.batch((batch) {
    executor(batch.withConverter(converter));
  });
}