findTransformConstraint method
Implementation
TransformConstraint? findTransformConstraint(String constraintName) {
final List<TransformConstraint> transformConstraints =
this.transformConstraints;
final int n = transformConstraints.length;
for (int i = 0; i < n; i++) {
final TransformConstraint constraint = transformConstraints[i];
if (constraint.data.name == constraintName) return constraint;
}
return null;
}