toJson method

Map<String, dynamic> toJson()

Converts a ParticipantList instance into a JSON object.

Implementation

Map<String, dynamic> toJson() => {
      "profileDetails": profileDetails?.toJson(),
      "messageId": messageId,
      "time": time,
    };