Post<C extends Cell, N extends Tag> class

A specialized Signal that represents a notification event between cells in a reactive system.

The Post class carries a map of events (tagged by N) and their associated data payloads as they propagate through the cell network. Each post maintains a reference to its origin cell.

This is the primary mechanism for propagating change notifications and events between connected cells in the system.

Type parameters:

  • C: The type of the originating cell (must extend Cell)
  • N: The type of event tags (must extend Tag)

@param from: Source cell that posted @param body: Content of the post

Example:

// Example:
final event = Post<Cell, Symbol>(
  from: sourceCell,
  body: {#update: [1, 2, 3]}
);
Inheritance
Implementers

Constructors

Post.new({required C from, required Map<N, Iterable> body})
Creates a new post with the given source and event data.

Properties

body Map<N, Iterable>?
The payload data carried by this signal
finalinherited
from → C
The cell that originated this post
final
hashCode int
The hash code for this object.
no setterinherited
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