NudgeCampaignConfig class
A nudge campaign — an overlay (bottom sheet / dialog) presented over the app.
- Inheritance
-
- Object
- CampaignConfigModel
- NudgeCampaignConfig
Constructors
-
NudgeCampaignConfig(NudgeConfig nudgeConfig, {List<
VariableSchema> defaultVariables = const <VariableSchema>[]}) -
const
Properties
-
defaultVariables
→ List<
VariableSchema> -
Dashboard-declared variable defaults (
templateConfig.variables), shared by every campaign type. When a render scope is built, the CEP trigger payload's variables are layered on top of these (CEP wins), so a{{ }}placeholder falls back to its dashboard default when the trigger omits it. Values keep their JSON type and are stringified only at substitution.finalinherited - hashCode → int
-
The hash code for this object.
no setterinherited
- nudgeConfig → NudgeConfig
-
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
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