NexusInAppMessage constructor
const
NexusInAppMessage({
- required String id,
- required String layout,
- String? title,
- String? body,
- String? imageUrl,
- String? backgroundColor,
- String? textColor,
- List<
NexusInAppButton> buttons = const [], - String? triggerType,
- String? triggerEvent,
- int? maxDisplays,
- bool perSession = false,
- NexusInAppDesign? design,
- String? variantId,
- bool isTest = false,
Implementation
const NexusInAppMessage({
required this.id,
required this.layout,
this.title,
this.body,
this.imageUrl,
this.backgroundColor,
this.textColor,
this.buttons = const [],
this.triggerType,
this.triggerEvent,
this.maxDisplays,
this.perSession = false,
this.design,
this.variantId,
this.isTest = false,
});