UpdateNotification class

Notification of an update to one or more tables, for the purpose of realtime change notifications.

Properties

hashCode int
The hash code for this object.
no setteroverride
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
tables Set<String>
Table name
final

Methods

containsAny(Set<String> tableFilter) bool
True if any of the supplied tables have been modified.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
override
union(UpdateNotification other) UpdateNotification

Operators

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

Static Methods

filterTablesTransformer(Iterable<String> tables) StreamTransformer<UpdateNotification, UpdateNotification>
Filter an update stream by specific tables.
throttleStream(Stream<UpdateNotification> input, Duration timeout, {UpdateNotification? addOne}) Stream<UpdateNotification>
Throttle an UpdateNotification stream to trigger a maximum of once every timeout.