DataSnapshot class abstract

A DataSnapshot contains data from a Firebase database location.

Any time you read data from a Firebase database, you receive the data as a DataSnapshot.

DataSnapshots are passed to event handlers such as onValue or onceValue.

Constructors

DataSnapshot()

Properties

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
Get the Dart Primitive, Map or List representation of the DataSnapshot.
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