toJson method

dynamic toJson()

Implementation

toJson() {
  final Map<String, dynamic> data = {};
  data["actionType"] = actionType;

  data["timeout"] = timeout;
  data["inviter"] = inviter;
  data["inviteeList"] = inviteeList;
  data["inviteID"] = inviteID;
  // data["inviter"] = jsonDecode(json["data"])["call_type"];
  // data["inviter"] = jsonDecode(json["data"])["room_id"];
  // data["call_end"] = callEnd;

  return data;
}