Converts the request parameters to a JSON format.
@override Map<String, dynamic> toJson() { return {"id": id}; }