set method
Writes data to the document. If the document does not exist yet, it is
created. With merge options the data is merged into the existing
document.
The future completes when the backend has applied the write.
Implementation
Future<void> set(T data, [SetOptions? options]) =>
_set(data, options, 'DocumentReference.set');