DeliveredParticipantList.fromJson constructor

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

Implementation

factory DeliveredParticipantList.fromJson(Map<String, dynamic> json) =>
    DeliveredParticipantList(
      memberProfileDetails:
          MemberProfileDetails.fromJson(Platform.isAndroid ? json["memberProfileDetails"] : json["profileDetails"]),
      messageId: json["messageId"],
      status: Platform.isAndroid ? Status.fromJson(json["status"]) : json["status"],
      time: json["time"].toString(),
      userJid: json["userJid"],
    );