removeEditVariables method

Result removeEditVariables(
  1. List<Variable> variables
)

Attempt the remove the list of edit Variable from the solver. Either all the specified edit variables are removed or none.

Check the Result returned to make sure the operation succeeded. Any errors will be reported via the message property on the Result.

Possible Results:

Implementation

Result removeEditVariables(List<Variable> variables) {
  Result applier(v) => removeEditVariable(v);
  Result undoer(v) => addEditVariable(v, _edits[v]!.constraint.priority);

  return _bulkEdit(variables, applier, undoer);
}