DatabaseEvent constructor
const
DatabaseEvent({
- required DatabaseEventType type,
- required DataSnapshot snapshot,
- String? previousChildKey,
Creates an event of type with snapshot, for a fake or a test; the client's own events come from
the streams of Query. previousChildKey follows the rules of the field.
Implementation
const DatabaseEvent({
required this.type,
required this.snapshot,
this.previousChildKey,
});