withSourceRange method
Creates a copy with a new sourceRange
Implementation
@override
LatexNode withSourceRange(SourceRange range) => LayoutNode(
layoutType,
content: content,
width: width,
height: height,
shift: shift,
sourceRange: range,
);