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