Object get(String name)

Get a property of this node. If name starts with '$', this will fetch a config. If name starts with a '@', this will fetch an attribute. Otherwise this will fetch a child.

Source

Object get(String name) {
  if (name.startsWith(r'$')) {
    return getConfig(name);
  }
  if (name.startsWith('@')) {
    return getAttribute(name);
  }
  return getChild(name);
}