Returns

Writes to the document referred to by the provided DocumentReference. If the
document does not yet exist, it will be created. If you pass SetOptions,
the provided data can be merged into an existing document.

Parameters

documentRef

The DocumentReference to overwrite.

data

The data to write to the document (e.g. a Map or a POJO containing the desired
document contents).