attributeValue property

String? get attributeValue

This attribute node's value. Throws if this is not an attribute.

Implementation

String? get attributeValue {
  if (!isAttribute) throw StateError('this is not an attribute');
  return _value?.uncast().string;
}