render method
Renders the compositor to a string snapshot.
Implementation
String render() {
if (_layers.isEmpty) _flatten();
final w = _bounds.width;
final h = _bounds.height;
final canvas = Canvas(w, h);
canvas.compose(this);
return canvas.render();
}