Converts the request parameters to a JSON representation.
@override List<dynamic> toJson() { return [ EthereumRequestETHSubscribeConst.logs, if (filter != null) filter!.toJson() ]; }