Result class
Return values used by methods on the cassowary Solver.
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- isError → bool
-
Whether this Result represents an error (true) or not (false).
final
- message → String
-
The human-readable string associated with this result.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Constants
- badRequiredStrength → const Result
- The result when the Constraint constraint was added at an invalid priority or an edit Variable was added at an invalid or required priority.
- duplicateConstraint → const Result
- The result when the Constraint could not be added to the Solver because it was already present in the solver.
- duplicateEditVariable → const Result
- The result when could not add the edit Variable to the Solver because it was already added to the Solver previously.
- success → const Result
- The result when the operation was successful.
- unknownConstraint → const Result
- The result when the Constraint could not be removed from the solver because it was not present in the Solver to begin with.
- unknownEditVariable → const Result
- The result when the edit Variable could not be removed from the solver because it was not present in the Solver to begin with.
- unsatisfiableConstraint → const Result
- The result when the Constraint could not be added to the Solver because it was unsatisfiable. Try lowering the Priority of the Constraint and try again.