Message constructor

const Message({
  1. required String id,
  2. required String campaignId,
  3. String? collapseId,
  4. required String title,
  5. required String body,
  6. String? imageUrl,
  7. required int receivedAt,
  8. int? updatedAt,
  9. int? expiresAt,
  10. List<String>? tags,
  11. Map<String, String>? properties,
  12. List<ActionModel>? actions,
})

Implementation

const Message({
  required this.id,
  required this.campaignId,
  this.collapseId,
  required this.title,
  required this.body,
  this.imageUrl,
  required this.receivedAt,
  this.updatedAt,
  this.expiresAt,
  this.tags,
  this.properties,
  this.actions,
});