unsetLineStyleAt method
Remove a text attribute from the line at the given index, if the index is valid and points to a LineState.
Implementation
void unsetLineStyleAt(int index, TextAttribute attribute) {
if (index >= 0 && index < paragraphs.length) {
final paragraph = paragraphs[index];
if (paragraph is LineState) {
setLineStyleOf(paragraph, attribute);
}
}
}