InboxNotification constructor
InboxNotification({
- required String id,
- required String body,
- SubscriberFeedResponse? to,
- required bool isRead,
- required bool isArchived,
- required DateTime createdAt,
- required ChannelType channelType,
- List<
String> ? tags, - MessageCTAData? redirect,
- String? subject,
- String? avatar,
- InboxNotificationAction? primaryAction,
- InboxNotificationAction? secondaryAction,
- Map<
String, dynamic> ? data, - DateTime? readAt,
- 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,
});