genTreeTitle method

void genTreeTitle (
  1. Contexts env,
  2. Output output,
  3. String prefix,
  4. String type,
  5. String value
)

Build the node tree title

Implementation

void genTreeTitle(
    Contexts env, Output output, String prefix, String type, String value) {
  final tabStr = '  ' * env.tabLevel;
  output.add('$tabStr$prefix$type ($value)\n');
}