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