void load(Map m)

Source

void load(Map m) {
  if (_loaded) {
    configs.clear();
    attributes.clear();
    children.clear();
  }
  String childPathPre;
  if (path == '/') {
    childPathPre = '/';
  } else {
    childPathPre = '$path/';
  }

  m.forEach((String key, value) {
    if (key.startsWith(r'$')) {
      configs[key] = value;
    } else if (key.startsWith('@')) {
      attributes[key] = value;
    } else if (value is Map) {
      Node node = provider.getOrCreateNode('$childPathPre$key', false);
      if (node is LocalNodeImpl) {
        node.load(value);
      }
      children[key] = node;
    }
  });
  _loaded = true;
}