FindResult class
Result of one Explorer.find / Explorer.findOrScroll call.
Constructors
-
FindResult.hit({required UiNode node, required MatchSource matchSource, int attempts = 0, List<
double> visitedOffsets = const [], bool ambiguous = false, List<UiNode> candidates = const <UiNode>[], double? runnerUpRatio, bool exactText = false}) -
const
-
FindResult.miss({required FindFailureReason failure, int attempts = 0, List<
double> visitedOffsets = const [], List<UiNode> candidates = const <UiNode>[]}) -
const
Properties
- ambiguous → bool
-
True when the matcher found a winner but a close runner-up exists
(top2.score / top1.score above the configured threshold).
final
- attempts → int
-
final
-
candidates
→ List<
UiNode> -
Top candidates (winner first, up to 3) when the matcher's text / subtree
rungs had close runner-ups.
final
- exactText → bool
-
True when a text-rung hit matched the WHOLE label (normalised equal, or
squash-equal), not just a word inside it.
final
- failure → FindFailureReason?
-
final
- found → bool
-
no setter
- hashCode → int
-
The hash code for this object.
no setterinherited
- matchSource → MatchSource?
-
final
- node → UiNode?
-
final
- refused → bool
-
True when a strict resolve SAW the target but refused to act on it
(
FindFailureReason.isRefusal).no setter - runnerUpRatio → double?
-
top2.score / top1.scorewhen a runner-up existed in the visible partition of the text rung.final - runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
-
visitedOffsets
→ List<
double> -
final
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