addRootMap method
Map-based variant of addRoot for callers that don't have the
typed Root available. Constructs a Root from the supplied map
(must contain at least uri) and delegates to addRoot.
Implementation
void addRootMap(Map<String, dynamic> root) {
addRoot(Root.fromJson(root));
}