CEPTriggerPayload class

The translation contract between a CEP plugin and Digia's rendering engine.

Plugin authors map their CEP's native callback into this struct. Digia core never imports CleverTap, MoEngage, or WebEngage types.

Constructors

CEPTriggerPayload({required String cepCampaignId, required Map<String, dynamic> cepMetadata, required String campaignKey, Map<String, String>? variables})
const

Properties

campaignKey String
The coupling key that links this CEP campaign to a Digia campaign. Core uses this to look up the matching WidgetConfig in CampaignStore.
final
cepCampaignId String
The CEP's own identifier for this campaign instance. Opaque to Digia Core — passed through for analytics correlation.
final
cepMetadata Map<String, dynamic>
Any additional metadata the CEP passes through (e.g. UTM params, user segment label, CEP-specific tracking fields). Core does not interpret these — forwarded as-is in ExperienceEvents.
final
hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
variables Map<String, String>?
Optional runtime variables to interpolate into the WidgetConfig. e.g. { "user_name": "Priya", "offer_value": "20%" } Keys must match variable placeholders declared in the Digia dashboard.
final

Methods

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

Operators

operator ==(Object other) bool
The equality operator.
inherited