toJson method

Map<String, dynamic> toJson()

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())),
    };