NexusInAppMessage constructor

const NexusInAppMessage({
  1. required String id,
  2. required String layout,
  3. String? title,
  4. String? body,
  5. String? imageUrl,
  6. String? backgroundColor,
  7. String? textColor,
  8. List<NexusInAppButton> buttons = const [],
  9. String? triggerType,
  10. String? triggerEvent,
  11. int? maxDisplays,
  12. bool perSession = 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,
});