MessageStatusDetail.fromJson constructor

MessageStatusDetail.fromJson(
  1. Map<String, dynamic> json
)

Converts a JSON object into a MessageStatusDetail instance.

Implementation

factory MessageStatusDetail.fromJson(Map<String, dynamic> json) =>
    MessageStatusDetail(
      count: json["count"],
      totalParticipantCount: json["totalParticipantCount"],
      participantList: json["participantList"] == null
          ? []
          : List<ParticipantList>.from(json["participantList"]!
              .map((x) => ParticipantList.fromJson(x))),
    );