RenderableUserNotification constructor

RenderableUserNotification({
  1. String? conversationId,
  2. String? contextHTML,
  3. List<String> fromUserNames = const [],
  4. List<String> fromUserIds = const [],
  5. List<String> relatedIds = const [],
  6. int? count,
  7. required bool optedOut,
  8. String? fromUserAvatarSrc,
  9. String? fromUserId,
  10. String? fromUserName,
  11. String? fromCommentId,
  12. required NotificationType type,
  13. required String createdAt,
  14. required String sent,
  15. required String viewed,
  16. required String relatedObjectId,
  17. required NotificationObjectType relatedObjectType,
  18. String? pageTitle,
  19. required String url,
  20. required String urlId,
  21. required String id,
})

Returns a new RenderableUserNotification instance.

Implementation

RenderableUserNotification({
  this.conversationId,
  this.contextHTML,
  this.fromUserNames = const [],
  this.fromUserIds = const [],
  this.relatedIds = const [],
  this.count,
  required this.optedOut,
  this.fromUserAvatarSrc,
  this.fromUserId,
  this.fromUserName,
  this.fromCommentId,
  required this.type,
  required this.createdAt,
  required this.sent,
  required this.viewed,
  required this.relatedObjectId,
  required this.relatedObjectType,
  this.pageTitle,
  required this.url,
  required this.urlId,
  required this.id,
});