addSpace method

void addSpace(
  1. int lines
)

Implementation

void addSpace(int lines) {
  for (int i = 0; i < lines; i++) {
    commands.add({'type': 'space'});
  }
}