dis method

String dis()

Get display string for this entity:

  • dis tag
  • id tag

Implementation

String dis() {
  HVal? v;
  v = get("dis", checked: false);
  if (v is HStr) return v.val;

  v = get("id", checked: false);
  if (v != null) return (v as HRef).getDis();

  return "????";
}