Message constructor
Message({
- int? id,
- DateTime? created,
- int? createdBy,
- required int chat,
- TypeAf8Enum? type,
- String? booking,
- String? invitation,
- Enquiry? enquiry,
- MessageTutorEnquiry? tutorEnquiry,
- PersonalityEnquiry? personalityEnquiry,
- 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,
});