batch method
Returns a WriteBatch
, used for performing multiple writes as a single
atomic operation.
Unlike Transaction
s, WriteBatch
es 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();
}