wrapWithEquationRow method

EquationRowNode wrapWithEquationRow()

Wrap a node in EquationRowNode

If this node is already EquationRowNode, then it won't be wrapped

Implementation

EquationRowNode wrapWithEquationRow() {
  if (this is EquationRowNode) {
    return this as EquationRowNode;
  }
  return EquationRowNode(children: [this]);
}