Evaluation class

The result of evaluating a semantics node by a AccessibilityGuideline.

Constructors

Evaluation.fail([String reason ])
Create a failing evaluation, with an optional reason explaining the result.
const
Evaluation.pass()
Create a passing evaluation.
const

Properties

passed bool
Whether the given tree or node passed the policy evaluation.
final
reason String
If passed is false, contains the reason for failure.
final
hashCode int
The hash code for this object. [...]
read-only, inherited
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
inherited
toString() String
Returns a string representation of this object.
inherited

Operators

operator +(Evaluation other) Evaluation
Combines two evaluation results. [...]
operator ==(dynamic other) bool
The equality operator. [...]
inherited