Call constructor
Call({
- String? sessionId,
- String? callStatus,
- String? action,
- String? rawData,
- DateTime? initiatedAt,
- DateTime? joinedAt,
- AppEntity? callInitiator,
- AppEntity? callReceiver,
- int? id,
- String? muid,
- User? sender,
- AppEntity? receiver,
- required String receiverUid,
- required String type,
- required String receiverType,
- String? category,
- DateTime? sentAt,
- DateTime? deliveredAt,
- DateTime? readAt,
- Map<
String, dynamic> ? metadata, - DateTime? readByMeAt,
- DateTime? deliveredToMeAt,
- DateTime? deletedAt,
- DateTime? editedAt,
- String? deletedBy,
- String? editedBy,
- DateTime? updatedAt,
- String? conversationId,
- int? parentMessageId,
- int? replyCount,
Implementation
Call({
this.sessionId,
this.callStatus,
this.action,
this.rawData,
this.initiatedAt,
this.joinedAt,
this.callInitiator,
this.callReceiver,
int? id,
String? muid,
User? sender,
AppEntity? receiver,
required String receiverUid,
required String type,
required String receiverType,
String? category,
DateTime? sentAt,
DateTime? deliveredAt,
DateTime? readAt,
Map<String, dynamic>? metadata,
DateTime? readByMeAt,
DateTime? deliveredToMeAt,
DateTime? deletedAt,
DateTime? editedAt,
String? deletedBy,
String? editedBy,
DateTime? updatedAt,
String? conversationId,
int? parentMessageId,
int? replyCount,
}) : super(
id: id ?? 0,
muid: muid ?? '',
sender: sender,
receiver: receiver,
receiverUid: receiverUid,
type: type,
receiverType: receiverType,
category: category ?? '',
sentAt: sentAt,
deliveredAt: deliveredAt,
readAt: readAt,
metadata: metadata,
readByMeAt: readByMeAt,
deliveredToMeAt: deliveredToMeAt,
deletedAt: deletedAt,
editedAt: editedAt,
deletedBy: deletedBy,
editedBy: editedBy,
updatedAt: updatedAt,
conversationId: conversationId,
parentMessageId: parentMessageId ?? 0,
replyCount: replyCount ?? 0,
);