1. @override
void init([Map<String, dynamic> m, Map<String, NodeFactory> profiles ])

Initialize the node provider.

Source

@override
void init([Map<String, dynamic> m, Map<String, NodeFactory> profiles]) {
  if (profiles != null) {
    if (profiles.isNotEmpty) {
      _profiles.addAll(profiles);
    } else {
      _profiles = profiles;
    }
  }

  if (m != null) {
    root.load(m);
  }
}