toJson method

Map<String, dynamic> toJson()

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