RpcResponse<T> constructor

const RpcResponse<T>({
  1. required String jsonrpc,
  2. required int id,
  3. required T? result,
  4. RpcError? error,
})

Implementation

const RpcResponse({
  required this.jsonrpc,
  required this.id,
  required this.result,
  this.error,
});