toJson method

  1. @override
List toJson()
override

Converts the request parameters to a JSON representation.

Implementation

@override
List<dynamic> toJson() {
  return [
    EthereumRequestETHSubscribeConst.logs,
    if (filter != null) filter!.toJson()
  ];
}