batch method

  1. @override
WriteBatch batch()
override

Returns a WriteBatch, used for performing multiple writes as a single atomic operation.

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

Implementation

@override
WriteBatch batch() {
  // TODO: implement batch
  throw UnimplementedError();
}