wrapWithEquationRow method
Wrap list of GreenNode in an EquationRowNode
If the list only contain one EquationRowNode, then this note will be returned.
Implementation
EquationRowNode wrapWithEquationRow() {
if (this.length == 1 && this[0] is EquationRowNode) {
return this[0] as EquationRowNode;
}
return EquationRowNode(children: this);
}