getDocument method
Reads the document referenced by the provided DocumentReference.
Holds a pessimistic lock on the returned document.
@param documentRef A reference to the document to be read. @return A DocumentSnapshot for the read data.
Implementation
@JS('get')
external JSPromise<DocumentSnapshot> getDocument(
DocumentReference documentRef,
);