Message constructor

Message({
  1. int? id,
  2. DateTime? created,
  3. int? createdBy,
  4. required int chat,
  5. TypeAf8Enum? type,
  6. String? booking,
  7. String? invitation,
  8. Enquiry? enquiry,
  9. MessageTutorEnquiry? tutorEnquiry,
  10. PersonalityEnquiry? personalityEnquiry,
  11. required String content,
})

Returns a new Message instance.

Implementation

Message({
  this.id,
  this.created,
  this.createdBy,
  required this.chat,
  this.type,
  this.booking,
  this.invitation,
  this.enquiry,
  this.tutorEnquiry,
  this.personalityEnquiry,
  required this.content,
});