ConversationSummary constructor

const ConversationSummary({
  1. required String id,
  2. String siteId = '',
  3. String visitorId = '',
  4. ConversationStatus status = ConversationStatus.open,
  5. int seq = 0,
  6. int visitorUnread = 0,
  7. DateTime? lastMessageAt,
  8. String? lastMessagePreview,
  9. SenderType? lastMessageSenderType,
  10. String? assigneeKind,
  11. String? assigneeId,
  12. DateTime? firstResponseAt,
  13. DateTime? resolvedAt,
  14. String? subject,
  15. DateTime? createdAt,
  16. DateTime? updatedAt,
  17. Json raw = const {},
})

Creates a summary.

Implementation

const ConversationSummary({
  required this.id,
  this.siteId = '',
  this.visitorId = '',
  this.status = ConversationStatus.open,
  this.seq = 0,
  this.visitorUnread = 0,
  this.lastMessageAt,
  this.lastMessagePreview,
  this.lastMessageSenderType,
  this.assigneeKind,
  this.assigneeId,
  this.firstResponseAt,
  this.resolvedAt,
  this.subject,
  this.createdAt,
  this.updatedAt,
  this.raw = const {},
});