SimpleNode createChild(String name, [ Map m ])

Creates a child with the given name. If m is specified, the node is loaded with that map.

Source

SimpleNode createChild(String name, [Map m]) {
  var tp = new Path(path).child(name).path;
  return provider.addNode(tp, m == null ? {} : m);
}