hasConstraint method
Check if the column has a specific constraint
Returns true if the column has the specified constraint, false otherwise.
Implementation
bool hasConstraint(String constraint) {
return _constraints.any((c) => c.toUpperCase().contains(constraint.toUpperCase()));
}