toJson method
Converts the MessageStatusDetail object to a JSON map.
Implementation
Map<String, dynamic> toJson() => {
"count": count,
"totalParticipantCount": totalParticipantCount,
"participantList":
List<dynamic>.from(participantList.map((x) => x.toJson())),
};