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

hashCode int
The hash code for this object.
no setterinherited
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
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 +(Evaluation? other) Evaluation
Combines two evaluation results.
operator ==(Object other) bool
The equality operator.
inherited