VisitorConversationDto constructor

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

Creates the DTO.

Implementation

const VisitorConversationDto({
  required this.id,
  required this.status,
  this.siteId = '',
  this.seq = 0,
  this.visitorUnread = 0,
  this.lastMessageAt,
  this.lastMessagePreview,
  this.lastMessageSenderType,
  this.firstResponseAt,
  this.resolvedAt,
  this.subject,
  this.createdAt,
  this.updatedAt,
  this.agent,
  this.raw = const {},
});