prependSpaces method

void prependSpaces(
  1. int amount
)

Adds the given amount of spaces to the begining of this node.

Implementation

void prependSpaces(int amount) {
  _leadingSpaces += ' ' * amount;
}