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
_i2.WriteBatch batch() => (super.noSuchMethod(Invocation.method(#batch, []), returnValue: _FakeWriteBatch()) as _i2.WriteBatch);