get method

LDValue get(
  1. String kind,
  2. AttributeReference reference
)

For the given context kind get an attribute using a reference. If the attribute does not exist, then a null LDValue type will be returned.

Implementation

LDValue get(String kind, AttributeReference reference) {
  return attributesByKind[kind]?._get(reference) ?? LDValue.ofNull();
}