InAppEvent constructor

InAppEvent({
  1. required EventType eventType,
  2. required InAppMessage message,
  3. String? actionValue,
  4. String? actionName,
})

Constructor for the InAppEvent.

eventType - The type of event. Required. message - The InAppMessage object. Required. actionValue - The value of the action taken on the InAppMessage. actionName - The name of the action taken on the InAppMessage.

Implementation

InAppEvent({
  required this.eventType,
  required this.message,
  this.actionValue,
  this.actionName,
});