ParticipantList.fromJson constructor

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

Converts a JSON object into a ParticipantList instance.

Implementation

factory ParticipantList.fromJson(Map<String, dynamic> json) =>
    ParticipantList(
      profileDetails: json["profileDetails"] == null
          ? null
          : ProfileDetails.fromJson(json["profileDetails"]),
      messageId: json["messageId"],
      time: json["time"],
    );