VisitorConversationDto constructor
- required String id,
- required ConversationStatus status,
- String siteId = '',
- int seq = 0,
- int visitorUnread = 0,
- DateTime? lastMessageAt,
- String? lastMessagePreview,
- SenderType? lastMessageSenderType,
- DateTime? firstResponseAt,
- DateTime? resolvedAt,
- String? subject,
- DateTime? createdAt,
- DateTime? updatedAt,
- AgentSummary? agent,
- 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 {},
});