equals method

  1. @override
Constraint equals(
  1. EquationMember m
)
override

Creates a Constraint by using this member as the left hand side expression and the argument as the right hand side Expression of a Constraint with a Relation.equalTo relationship between the two.

For example: topEdgeOfBoxA + cm(10.0) == topEdgeOfBoxB woud read, "the entities A and B have a padding on top of 10."

Implementation

@override
Constraint equals(EquationMember m) => _createConstraint(m, Relation.equalTo);