get method

Future<DocSnapshot<D>> get([
  1. GetOptions? options
])

Reads the document referenced by this DocumentReference

If no document exists, the read will return null.

Implementation

Future<DocSnapshot<D>> get([GetOptions? options]) async {
  return raw.get(options).then(
        (ds) => DocSnapshot<D>._fromSnapshot(_firestore, ds),
      );
}