used by list api to update simple data for children
Source
void updateRemoteChildData(Map m, RemoteNodeCache cache) {
String childPathPre;
if (remotePath == '/') {
childPathPre = '/';
} else {
childPathPre = '$remotePath/';
}
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 = cache.getRemoteNode('$childPathPre/$key');
children[key] = node;
if (node is RemoteNode) {
node.updateRemoteChildData(value, cache);
}
}
});
}