PostgresChangePayload class

Data class that contains the Postgres change event payload.

Constructors

PostgresChangePayload({required String schema, required String table, required DateTime commitTimestamp, required PostgresChangeEvent eventType, required Map<String, dynamic> newRecord, required Map<String, dynamic> oldRecord, required dynamic errors})
PostgresChangePayload.fromPayload(Map<String, dynamic> payload)
Creates a PostgresChangePayload instance from the enriched postgres change payload

Properties

commitTimestamp DateTime
final
errors → dynamic
final
eventType PostgresChangeEvent
final
hashCode int
The hash code for this object.
no setteroverride
newRecord Map<String, dynamic>
final
oldRecord Map<String, dynamic>
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
schema String
final
table String
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
override

Operators

operator ==(covariant PostgresChangePayload other) bool
The equality operator.
override