ChatRoom constructor
ChatRoom({
- int? id,
- required String title,
- DateTime? created,
- ChatTypeEnum? chatType,
- String? newestMessage,
Returns a new ChatRoom instance.
Implementation
ChatRoom({
this.id,
required this.title,
this.created,
this.chatType,
this.newestMessage,
});