toJson method
Converts a MessageStatusDetail instance into a JSON object.
Implementation
Map<String, dynamic> toJson() => {
"count": count,
"totalParticipantCount": totalParticipantCount,
"participantList": participantList == null
? []
: List<dynamic>.from(participantList!.map((x) => x.toJson())),
};