AppwinInAppMessage constructor

const AppwinInAppMessage({
  1. required String id,
  2. required String campaignId,
  3. required String deliveryId,
  4. required String channel,
  5. required String format,
  6. required AppwinInAppContent content,
})

Builds a message. The SDK decodes them for you; this is here for tests and for a host app rendering its own UI.

Implementation

const AppwinInAppMessage({
  required this.id,
  required this.campaignId,
  required this.deliveryId,
  required this.channel,
  required this.format,
  required this.content,
});