InboxNotification constructor

InboxNotification({
  1. required String id,
  2. required String body,
  3. SubscriberFeedResponse? to,
  4. required bool isRead,
  5. required bool isArchived,
  6. required DateTime createdAt,
  7. required ChannelType channelType,
  8. List<String>? tags,
  9. MessageCTAData? redirect,
  10. String? subject,
  11. String? avatar,
  12. InboxNotificationAction? primaryAction,
  13. InboxNotificationAction? secondaryAction,
  14. Map<String, dynamic>? data,
  15. DateTime? readAt,
  16. DateTime? archivedAt,
})

Implementation

InboxNotification({
  required this.id,
  required this.body,
  this.to,
  required this.isRead,
  required this.isArchived,
  required this.createdAt,
  required this.channelType,
  this.tags,
  this.redirect,
  this.subject,
  this.avatar,
  this.primaryAction,
  this.secondaryAction,
  this.data,
  this.readAt,
  this.archivedAt,
});