update method
Updates data on the document. Data will be merged with any existing document data.
If no document exists yet, the update will fail.
Implementation
Future<void> update(Map<String, dynamic> data) {
return _delegate
.update(_CodecUtility.replaceValueWithDelegatesInMap(data)!);
}