expandEquationRow method

List<GreenNode> expandEquationRow()

If this node is EquationRowNode, its children will be returned. If not, itself will be returned in a list.

Implementation

List<GreenNode> expandEquationRow() {
  if (this is EquationRowNode) {
    return (this as EquationRowNode).children;
  }
  return [this];
}