JsonRpcRequest constructor

JsonRpcRequest({
  1. required int id,
  2. String jsonrpc = JSONRPC_VERSION,
  3. WCMethod? method,
  4. required List? params,
})

Implementation

JsonRpcRequest({
  required this.id,
  this.jsonrpc = JSONRPC_VERSION,
  this.method,
  required this.params,
});