routeNodeToMap method
Implementation
Map<String, dynamic> routeNodeToMap(String path, RouteNode node)
{
Map<String, dynamic> ret = {};
if (node.className != null) {
ret[path] = {
'handler': node.className,
'params': {}
};
}
node.subNodes.forEach((k, node){
ret.addAll(routeNodeToMap(path + '/' + k, node));
});
return ret;
}