Message constructor
Message({
- required MessageType type,
- required ChatUser author,
- required int createdAt,
- DeliveryStatus? status,
- Map<
String, dynamic> ? meta, - Message? repliedTo,
Create the class
Implementation
Message(
{required this.type,
required this.author,
required this.createdAt,
this.status,
this.meta,
this.repliedTo});