attributes property

List<Template> attributes

Implementation

List<Template> get attributes {
  if (_attributes == null) {
    _attributes = [];
    if (node is xml.XmlElement) {
      for (var attr in node.attributes) {
        _attributes!.add(Template(attr, this));
      }
    }
  }
  return _attributes!;
}