Evaluation class Null safety

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.
read-onlyinherited
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.
read-onlyinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent 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