InAppEvent.fromMap constructor
Constructor for creating an InAppEvent from a map.
type
- The type of event.
map
- The map containing the values for creating the InAppEvent.
Implementation
InAppEvent.fromMap(EventType type, Map<String?, dynamic> map)
: eventType = type,
actionValue = map['actionValue'],
actionName = map['actionName'],
message = InAppMessage(
messageId: map['messageId'], deliveryId: map['deliveryId']);