push method

void push(
  1. int depth,
  2. String content
)

Adds a line at the specified depth

Implementation

void push(int depth, String content) {
  final indent = _indentationString * depth;
  _lines.add(indent + content);
}