removeLastLine method

Line removeLastLine()

Removes last line from the paragraph.

Implementation

Line removeLastLine() {
  if (_sealed) {
    throw StateError(
        'Cannot be removed the Element at ${_lines.length - 1} when $runtimeType is sealed');
  }
  return _lines.removeLast();
}