asTree static method
Outputs the entire tree, returning it as a string with line breaks.
Implementation
static String asTree(Map obj, bool showValues) {
var tree = '';
_growBranch('.', obj, false, const [], showValues, (line) {
tree += line + '\n';
});
return tree;
}