JsonRpcRequest<T> constructor

JsonRpcRequest<T>({
  1. required int id,
  2. required String jsonrpc,
  3. required String method,
  4. T? params,
  5. Object? paramsToJson(
    1. T value
    )?,
})

Implementation

JsonRpcRequest({
  required this.id,
  required this.jsonrpc,
  required super.method,
  super.params,
  super.paramsToJson,
});