BaseMessage constructor
BaseMessage({
- int id = 0,
- String muid = '',
- User? sender,
- AppEntity? receiver,
- required String receiverUid,
- required String type,
- required String receiverType,
- String category = '',
- DateTime? sentAt,
- DateTime? deliveredAt,
- required DateTime? readAt,
- Map<
String, dynamic> ? metadata, - DateTime? readByMeAt,
- DateTime? deliveredToMeAt,
- DateTime? deletedAt,
- DateTime? editedAt,
- String? deletedBy,
- String? editedBy,
- DateTime? updatedAt,
- String? conversationId,
- int parentMessageId = 0,
- int replyCount = 0,
Implementation
BaseMessage({
this.id = 0,
this.muid = '',
this.sender,
this.receiver,
required this.receiverUid,
required this.type,
required this.receiverType,
this.category = '',
this.sentAt,
this.deliveredAt,
required this.readAt,
this.metadata,
this.readByMeAt,
this.deliveredToMeAt,
this.deletedAt,
this.editedAt,
this.deletedBy,
this.editedBy,
this.updatedAt,
this.conversationId,
this.parentMessageId = 0,
this.replyCount = 0,
});