Interaction constructor
Interaction({
- Caller caller = const Caller(),
- List<
String> readBy = const [], - bool status = false,
- String id = "",
- List<
Participant> participants = const [], - Agent agent = const Agent(),
- String channel = "",
- String extension = "",
- ExtraPayload extraPayload = const ExtraPayload(),
- DateTime? createdAt,
- DateTime? updatedAt,
- LastMessage? lastMessage,
- List emails = const [],
- int unread = 0,
- String interactionId = "",
Implementation
Interaction({
this.caller = const Caller(),
this.readBy = const [],
this.status = false,
this.id = "",
this.participants = const [],
this.agent = const Agent(),
this.channel = "",
this.extension = "",
this.extraPayload = const ExtraPayload(),
this.createdAt,
this.updatedAt,
this.lastMessage,
this.emails = const [],
this.unread = 0,
this.interactionId = "",
});