forAttribute static method

dynamic forAttribute(
  1. Attribute attribute
)

An internal reference, linked to an Attribute

Implementation

static forAttribute(Attribute attribute) {
  return Reference.internal(text: attribute.name, link: attribute.getId());
}