removeIndention method

void removeIndention(
  1. int indent
)

Implementation

void removeIndention(int indent) {
  accept();
  if (indent > 0) {
    _data = _data.map((line) {
      if (line.length > indent) {
        return line.substring(indent);
      } else {
        return line;
      }
    }).toList();
  }
}