DatabaseEventType enum
The kind of a DatabaseEvent.
Inside one change the events come in this order: childRemoved, childAdded, childMoved, childChanged, then value. Within one kind they come in the query's index order.
Values
- value → const DatabaseEventType
-
The whole value of the query's location, raised once with the initial data and after every change.
- childAdded → const DatabaseEventType
-
A child appeared in the query's results.
previousChildKeynames the child before it, or null when it is the first. - childChanged → const DatabaseEventType
-
A child in the results changed value.
previousChildKeynames the child before it. - childMoved → const DatabaseEventType
-
A child moved to another place in the query's order.
previousChildKeynames its new predecessor. - childRemoved → const DatabaseEventType
-
A child left the query's results.
previousChildKeyis null.
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- index → int
-
A numeric identifier for the enumerated value.
no setterinherited
- name → String
-
Available on Enum, provided by the EnumName extension
The name of the enum value.no setter - runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
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
Constants
-
values
→ const List<
DatabaseEventType> - A constant List of the values in this enum, in order of their declaration.