operator | method

Constraint operator |(
  1. double p
)

The operator | is overloaded as a convenience so that constraint priorities can be specifed along with the Constraint expression.

For example: ax + by + cx <= 0 | Priority.weak. See Priority.

Implementation

Constraint operator |(double p) => this..priority = p;