Provide details when reporting invalid constraints (#3281)
This also shrinks the width of the error messages a bit because now that we use 'package:' URLs the stacks are a bit narrower.
This commit is contained in:
@@ -43,7 +43,10 @@ class SectorConstraints extends Constraints {
|
||||
bool get isNormalized => minDeltaRadius <= maxDeltaRadius && minDeltaTheta <= maxDeltaTheta;
|
||||
|
||||
@override
|
||||
bool debugAssertIsValid({ bool isAppliedConstraint: false }) {
|
||||
bool debugAssertIsValid({
|
||||
bool isAppliedConstraint: false,
|
||||
InformationCollector informationCollector
|
||||
}) {
|
||||
assert(isNormalized);
|
||||
return isNormalized;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user