FullChat constructor

FullChat({
  1. int? id,
  2. ChatTutor? tutor,
  3. ChatUser? customer,
  4. bool? isArchived,
  5. DateTime? created,
  6. int? unreadCount,
  7. String? subjectSlug,
  8. String? levelSlug,
  9. required int createdBy,
  10. List<Message> messages = const [],
  11. bool? hasEnquiryPendingTermsAcceptance,
})

Returns a new FullChat instance.

Implementation

FullChat({
  this.id,
  this.tutor,
  this.customer,
  this.isArchived,
  this.created,
  this.unreadCount,
  this.subjectSlug,
  this.levelSlug,
  required this.createdBy,
  this.messages = const [],
  this.hasEnquiryPendingTermsAcceptance,
});