JsonRpcRequest constructor

JsonRpcRequest({
  1. required int id,
  2. required String method,
  3. List? params,
  4. String rpc = '2.0',
})

Implementation

JsonRpcRequest({
  required this.id,
  required this.method,
  this.params,
  this.rpc = '2.0',
});