DatabaseChangeEvent class Null safety

A database change event. Used by the changefeed

Constructors

DatabaseChangeEvent({required DatabaseChange type, required int value, required String query, required String table, required num executionTime, Map<String, String?>? data})
Default database change event

Properties

data Map<String, String?>?
The data manipulated by the query
final
executionTime num
The query execution time
final
hashCode int
The hash code for this object.
read-only, inherited
query String
The query that made the changes
final
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited
table String
The table where the changes occur
final
type DatabaseChange
Type of the change
final
value int
Change value: number of items affected
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed.
inherited
toString() String
Human readable format
override

Operators

operator ==(Object other) bool
The equality operator.
inherited