removeConstraint method

bool removeConstraint(
  1. String constraint
)

Remove a specific constraint

Removes the first occurrence of the specified constraint. Returns true if the constraint was removed, false otherwise.

Implementation

bool removeConstraint(String constraint) {
  return _constraints.remove(constraint);
}