CampaignStore class
In-memory cache of campaigns keyed by campaignKey.
Dart port of the Android CampaignStore. Populated once during
DigiaInstance.initialize and consulted on every CEP-triggered campaign.
Not persisted across launches — the SDK refetches on each cold start.
Constructors
Properties
Methods
-
clear(
) → void -
find(
String campaignKey) → CampaignModel? -
findById(
String campaignId) → CampaignModel? -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
populate(
List< CampaignModel> list) → void -
Replaces the entire cache with
list, keyed bycampaignKey. -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited