Interaction constructor

Interaction({
  1. Caller caller = const Caller(),
  2. List<String> readBy = const [],
  3. bool status = false,
  4. String id = "",
  5. List<Participant> participants = const [],
  6. Agent agent = const Agent(),
  7. String channel = "",
  8. String extension = "",
  9. ExtraPayload extraPayload = const ExtraPayload(),
  10. DateTime? createdAt,
  11. DateTime? updatedAt,
  12. LastMessage? lastMessage,
  13. List emails = const [],
  14. int unread = 0,
  15. 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 = "",
});