addNamed method

  1. @JS('add')
BundleBuilder addNamed(
  1. String queryName,
  2. QuerySnapshot querySnapshot
)

Adds a Firestore QuerySnapshot to the bundle. Both the documents in the query results and the query read time will be included in the bundle.

@param queryName The name of the query to add. @param querySnapshot A QuerySnapshot to add to the bundle. @returns This instance.

Implementation

@JS('add')
external BundleBuilder addNamed(
  String queryName,
  QuerySnapshot querySnapshot,
);