FbBatch.create constructor
FbBatch.create(
- WriteBatch _batch,
- FirebaseFirestore _firestore
Creates a new FbBatch instance.
Example:
final batch = FbBatch.create(firestore.batch(), firestore);
batch.set('users/123', {'name': 'John'});
await batch.commit();
Implementation
FbBatch.create(this._batch, this._firestore);