DataSnapshot
A DataSnapshot instance contains data from a Firebase Database location. Any time you read Database data, you receive the data as a DataSnapshot.
They are efficiently-generated immutable copies of the data at a Firebase Database location. They can't be modified and will never change. To modify data at a location, use a
DatabaseReference reference (e.g. with DatabaseReference.setValue).
Properties
Link copied to clipboard
Link copied to clipboard
Gives access to all of the immediate children of this snapshot. Can be used in native for loops:
Link copied to clipboard
Indicates whether this snapshot has any children
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Used to obtain a reference to the source location for this snapshot.