Notification class

Represents a notification from PostgreSQL.

Instances of this type are created and sent via PostgreSQLConnection.notifications.

Constructors

Notification(int processID, String channel, String payload)
Creates an instance of this type.

Properties

channel String
The name of the PostgreSQL channel that this notification occurred on.
final
hashCode int
The hash code for this object.
no setterinherited
payload String
An optional data payload accompanying this notification.
final
processID int
The backend ID from which the notification was generated.
final
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