docstr: Save result dashboard to disk.
  
  :param path: Path to result directory on disk.
docstr_tok: ["Save","result","dashboard","to","disk",".",":","param","path",":","Path","to","result","directory","on","disk","."]
code: def _save_dashboard(self, result_dir: Path):
      """Save result dashboard to disk.
  
      :param path: Path to result directory on disk.
      """
      dashboard = self._get_dashboard_data()
      dashboard_filename = SerializationAttributes.DASHBOARD_FILENAME
      with open(result_dir / dashboard_filename, "w") as f:
          json.dump(dashboard, f)
  
imports: import json
  from abc import ABC, abstractmethod
  from pathlib import Path
  from typing import Any, Generic, List, TypeVar, Union
  import jsonschema
  from raiutils.data_processing import serialize_json_safe
  from responsibleai._internal.constants import SerializationAttributes
  from responsibleai._tools.shared.attribute_serialization import load_attributes, save_attributes
label_desc: Use image node_id 4 for calling the BaseResult obj's underlying member method code with example usage: obj._save_dashboard(result_dir) without return types