batch method

Creates a write batch, used for performing multiple writes as a single atomic operation.

Unlike transactions, write batches are persisted offline and therefore are preferable when you don’t need to condition your writes on read data.

Implementation

WriteBatchPlatform batch() {
  throw UnimplementedError('batch() is not implemented');
}