removeLine method

void removeLine(
  1. int index
)

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) {
  lines.removeAt(index);
}