MissionKey class

Composite key identifying a coalescable mission (FR-001).

Derived from: spark type + normalized value + country + strategy variant. Two missions with the same key MUST coalesce within the configured coalescing window.

Annotations

Constructors

MissionKey({required String sparkType, required String normalizedValue, required String country, required String strategyVariant})

Properties

canonical → String
Stable string form, used as a Map key.
latefinal
country → String
ISO-3166 country code (e.g. US, DE).
final
hashCode → int
The hash code for this object.
no setteroverride
normalizedValue → String
Normalized (lowercased, trimmed, deduplicated) spark payload value. Normalization MUST happen before key construction so that two semantically-equivalent sparks produce the same key.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
sparkType → String
The kind of spark that triggered the mission (e.g. product_scan, price_check).
final
strategyVariant → String
Strategy variant identifier (e.g. default, aggressive). Two missions differing only here MUST NOT coalesce.
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() → String
A string representation of this object.
override

Operators

operator ==(Object other) → bool
The equality operator.
override