removeLine method
Removes a line from the paragraph at the specified index.
index
is the index of the line to be removed.
Implementation
void removeLine(int index) {
if (_sealed) {
throw StateError(
'Cannot be removed the Element at $index when $runtimeType is sealed');
}
_lines.removeAt(index);
}