batch method

WriteBatch batch()

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

Returns non-null WriteBatch that can be used to atomically execute multiple writes.

Implementation

WriteBatch batch() => WriteBatch.getInstance(jsObject.batch());