forFocus static method

dynamic forFocus(
  1. Focus focus
)

An internal reference, linked to a Focus

Implementation

static forFocus(Focus focus) {
  return Reference.internal(
      text: "${focus.name}(${focus.getAssociatedAttribute().name})",
      link: focus.getId());
}