findPathConstraint method

PathConstraint? findPathConstraint(
  1. String constraintName
)
inherited

Implementation

PathConstraint? findPathConstraint(String constraintName) {
  final List<PathConstraint> pathConstraints = this.pathConstraints;
  final int n = pathConstraints.length;
  for (int i = 0; i < n; i++) {
    final PathConstraint constraint = pathConstraints[i];
    if (constraint.data.name == constraintName) return constraint;
  }
  return null;
}