add method

BundleBuilder add(
  1. DocumentSnapshot documentSnapshot
)

Adds a Firestore DocumentSnapshot to the bundle. Both the documents data and the document read time will be included in the bundle.

@param documentSnapshot A DocumentSnapshot to add. @returns This instance.

Implementation

external BundleBuilder add(DocumentSnapshot documentSnapshot);