DataSnapshot class

A DataSnapshot contains data from a Firebase Database location. Any time you read Firebase data, you receive the data as a DataSnapshot.

Properties

exists bool
Ascertains whether the value exists at the Firebase Database location.
no setter
hashCode int
The hash code for this object.
no setterinherited
key String?
The key of the location that generated this DataSnapshot.
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
value → dynamic
Returns the contents of this data snapshot as native types.
no setter

Methods

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