InlineCountdownConfig class
SDK-owned countdown template. Presentation is fixed in Flutter; campaigns author content, a deadline, and active/expired action flows.
Constructors
-
InlineCountdownConfig({required String slotKey, required CountdownHeaderContent activeContent, required CountdownDeadline deadline, required CountdownExpiredContent expiredContent, List<
EngageAction> onClick = const [], List<EngageAction> expiredOnClick = const []}) -
const
Properties
- activeContent → CountdownHeaderContent
-
final
- deadline → CountdownDeadline
-
final
- expiredContent → CountdownExpiredContent
-
final
-
expiredOnClick
→ List<
EngageAction> -
final
- hashCode → int
-
The hash code for this object.
no setterinherited
-
onClick
→ List<
EngageAction> -
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- slotKey → String
-
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
resolve(
VariableScope variables) → ResolvedInlineCountdownConfig? - Resolves personalized fields before the campaign reaches the renderer. Invalid content collapses the slot without emitting an impression.
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Methods
-
fromJson(
Map< String, dynamic> json) → InlineCountdownConfig?