getCollections<T extends Object?> function

Future<QuerySnapshotForAll<T>> getCollections<T extends Object?>(
  1. ColRef<T> ref, {
  2. required QueryProperties queryProperties,
})

Implementation

Future<QuerySnapshotForAll<T>> getCollections<T extends Object?>(ColRef<T> ref,
    {required QueryProperties queryProperties}) async {
  if (isWindows()) {
    return (await getCollectionsWindows<T>(ref.reference,
        queryProperties: queryProperties, colRef: ref));
  } else {
    return (await getCollectionsOriginal<T>(ref.reference!,
        queryProperties: queryProperties, colRef: ref));
  }
}