PulseContext.fromEntries constructor

PulseContext.fromEntries(
  1. Iterable<GovernanceEntry<Governance, dynamic>> entries, {
  2. Map<String, dynamic>? others,
  3. Context? parent,
})

Syntheses a Signal Provenance Environment from a collection of strongly‑typed telemetric entries.

This constructor facilitates the creation of a PulseContext by aggregating individual GovernanceEntry pairs. It is the architectural standard for Stimulus Composition.

When to use

This is an advanced entry point. Use it when you need to build a context from a dynamic list of entries – e.g., in code generation or when deserialising a context from an external source.

How it works

You provide a list of GovernanceEntry objects (typically from Provenance), and the framework constructs a context record from them. You can optionally specify a parent to inherit from.

Parameters:

  • entries: An iterable of GovernanceEntry objects defining the telemetric pillars.
  • others: A catch‑all map for dynamic, domain‑specific metadata.
  • parent: The ancestral Context for baseline lineage.

Implementation

PulseContext.fromEntries(super.entries, {super.others, super.parent});