ChatModel constructor
ChatModel({})
Creates a new instance of the ChatModel class.
The chat parameter represents the chat ID.
The message parameter represents the chat message.
The time parameter represents the time of the chat message.
The chatType parameter represents the type of the chat message.
Implementation
ChatModel({
required this.chat,
required this.message,
required this.time,
this.chatType = ChatType.message,
});