nextLine property
Line?
get
nextLine
Returns next Line or null
if this is the last line in the document.
Implementation
Line? get nextLine {
if (!isLast) {
return next is Block ? (next as Block).first as Line? : next as Line?;
}
if (parent is! Block) {
return null;
}
if (parent!.isLast) {
return null;
}
return parent!.next is Block ? (parent!.next as Block).first as Line? : parent!.next as Line?;
}