JsonRpcResponse<T> constructor

JsonRpcResponse<T>({
  1. required int id,
  2. String jsonrpc = '2.0',
  3. JsonRpcError? error,
  4. T? result,
})

Implementation

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