attributeSpans property Null safety

LinkedHashMap<Object, FileSpan>? attributeSpans

If sourceSpan is available, this contains the spans of each attribute. The span of an attribute is the entire attribute, including the name and quotes (if any). For example, the span of "attr" in <a attr="value"> would be the text attr="value".

Implementation

LinkedHashMap<Object, FileSpan>? get attributeSpans {
  _ensureAttributeSpans();
  return _attributeSpans;
}