update method
Updates a given document
.
If the document does not yet exist, an exception will be thrown.
Implementation
@override
void update(DocumentReference document, Map<String, dynamic> data) {
if (!_hasUncommittedChanges) {
_hasUncommittedChanges = true;
}
return batch.update(document, data);
}