formatAndOptimize method
Formats this node and optimizes it with adjacent leaf nodes if needed.
Implementation
void formatAndOptimize(NotusStyle? style) {
if (style != null && style.isNotEmpty) {
applyStyle(style);
}
optimize();
}
Formats this node and optimizes it with adjacent leaf nodes if needed.
void formatAndOptimize(NotusStyle? style) {
if (style != null && style.isNotEmpty) {
applyStyle(style);
}
optimize();
}