Post<C extends Cell, N extends Tag> constructor

Post<C extends Cell, N extends Tag>({
  1. required C from,
  2. required Map<N, Iterable> body,
})

Creates a new post with the given source and event data.

Parameters:

  • from: The originating cell of this notification
  • body: A map of events and their associated data payloads

Implementation

Post({required this.from, required Map<N,Iterable> body})
    : super(Map<N,Iterable>.unmodifiable(body));