ChatMessageModel constructor
- required ChatUserModel sender,
- required DateTime timestamp,
Constructs a ChatMessageModel instance.
sender: The sender of the message.
timestamp: The timestamp when the message was sent.
Implementation
ChatMessageModel({
required this.sender,
required this.timestamp,
});