JsonRpcError constructor

JsonRpcError({
  1. required int id,
  2. String jsonrpc = '2.0',
  3. ErrorResponse? error,
})

Implementation

JsonRpcError({
  required this.id,
  this.jsonrpc = '2.0',
  this.error,
});