ChatInfo constructor
ChatInfo({
- MessageType type = MessageType.info,
- ChatUser author = const ChatUser(userID: ''),
- String? messageID,
- required int createdAt,
- required String info,
Create the class
Implementation
ChatInfo(
{super.type = MessageType.info,
super.author = const ChatUser(userID: ''),
super.messageID,
required super.createdAt,
required this.info});