ZenithInvalidateMessage class

An inter-isolate invalidation message that is safe to send across isolate boundaries (contains only plain Dart primitives).

Background sync isolates broadcast these when they have written new data, so the foreground isolate can invalidate cached reactive nodes without restarting the app.

Constructors

ZenithInvalidateMessage({required String tenantId, required String nodeKey})
Creates a ZenithInvalidateMessage for tenantId / nodeKey.
const

Properties

hashCode → int
The hash code for this object.
no setterinherited
nodeKey → String
The string key of the node to invalidate.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
tenantId → String
The tenant (user) id whose node should be invalidated.
final

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