BundleBuilder extension type

Builds a Firestore data bundle with results from the given document and query snapshots.

on
Implemented types
Available extensions

Properties

bundleId String
The ID of this bundle.
no setter
hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

add(DocumentSnapshot documentSnapshot) BundleBuilder
Adds a Firestore DocumentSnapshot to the bundle. Both the documents data and the document read time will be included in the bundle.
addNamed(String queryName, QuerySnapshot querySnapshot) BundleBuilder
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.
build() JSArrayBuffer
Builds the bundle and returns the result as a Buffer instance.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited