Flexible constructor
- int weight
Creates a flexible constraint.
Implementation
const Flexible(
this.weight,
) : assert(weight >= 0, 'Weight must be non-negative');
Creates a flexible constraint.
const Flexible(
this.weight,
) : assert(weight >= 0, 'Weight must be non-negative');