SimpleNodeProvider([Map<String, dynamic> m, Map<String, NodeFactory> profiles ])

Creates a SimpleNodeProvider. If m and optionally profiles is specified, the provider is initialized with these values.

Source

SimpleNodeProvider([Map<String, dynamic> m, Map<String, NodeFactory> profiles]) {
  // by default, the first SimpleNodeProvider is the static instance
  if (instance == null) {
     instance = this;
  }

  root = new SimpleNode("/", this);
  nodes["/"] = root;
  defs = new SimpleHiddenNode('/defs', this);
  nodes[defs.path] = defs;
  sys = new SimpleHiddenNode('/sys', this);
  nodes[sys.path] = sys;

  init(m, profiles);
}