getDoc<T extends Object?> function

Future<DocumentSnapshotForAll<T>> getDoc<T extends Object?>(
  1. DocRef<T> ref
)

Implementation

Future<DocumentSnapshotForAll<T>> getDoc<T extends Object?>(
    DocRef<T> ref) async {
  if (isWindows()) {
    return (await getDocumentWindows<T>(ref.reference, docRef: ref));
  } else {
    return (await getDocumentOriginal<T>(ref.reference, docRef: ref));
  }
}