PersonChat constructor

PersonChat({
  1. int? id,
  2. required Person type,
  3. required String message,
  4. required DateTime date,
  5. Profile? person,
  6. bool isLabel = false,
  7. int? listId,
  8. required ChatTypes chatType,
  9. int? timezone,
  10. Status status = Status.pending,
})

Implementation

PersonChat({this.id, required this.type, required this.message, required this.date, this.person, this.isLabel = false, this.listId, required this.chatType, this.timezone, this.status = Status.pending});