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