addSpaces method

void addSpaces(
  1. int total
)

Append a total number of spaces in the target file. Typically used for formatting indentation.

Implementation

void addSpaces(int total) {
  for (var i = 0; i < total; i++) {
    _buff.write(' ');
  }
  _column += total;
}