contract property
OmegaFlowContract?
get
contract
Optional declarative contract: events listened, intents accepted, expression types emitted. When set, in debug mode Omega warns if the flow receives or emits something not declared. Override in subclasses to declare contracts. Default is null (no validation). Cached on first access so prefer returning a const or stable instance.
Implementation
OmegaFlowContract? get contract => null;