renderAsText static method
Compact text representation of the native scene for agent consumption.
Enabled elements are marked *, disabled elements are marked -.
Implementation
static String renderAsText(Scene scene) {
final buf = StringBuffer();
_renderNode(buf, scene.root, depth: 0);
return buf.toString();
}