VerificationResultMessage class
Frontend → Backend.
Constructors
-
VerificationResultMessage({required String missionId, required int stepIndex, required bool success, required List<
VerificationEvidence> evidence, required DateTime timestamp, String? failureReason, String? value, String? strategy, String? requestedStableId, String? requestedText, String? actedStableId, String? actedRole, bool? redirected, String? matchSource, bool? verified, bool? valueMatched}) -
const
-
VerificationResultMessage.fromJson(Map<
String, dynamic> json) -
factory
Properties
- actedRole → String?
-
final
- actedStableId → String?
-
final
-
evidence
→ List<
VerificationEvidence> -
final
- failureReason → String?
-
Optional free-form description, set when success is false.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- matchSource → String?
-
How the acted element was reached:
stable_id,identifier,text_exact,text_token,redirect_label,twin,descendant,ancestor,pin_refind,blind,role,bounds.final - missionId → String
-
final
- redirected → bool?
-
True when set_text wrote to a field bound to the matched label rather
than the matched node itself.
final
- requestedStableId → String?
-
Identity of what was ASKED for vs what was ACTED on — additive keys,
each omitted when null. They let the backend see a redirect / a wrong
element instead of trusting a bare
success.final - requestedText → String?
-
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- stepIndex → int
-
final
- strategy → String?
-
How the executor dispatched the action (
semantics_tap,set_slider_stepped, …). Telemetry; omitted when null/empty.final - success → bool
-
final
- timestamp → DateTime
-
final
- type → String
-
no setter
- value → String?
-
The ACHIEVED value of a value-carrying verb (
set_slider): a discrete control asked for 47 may legitimately land on 50, and the backend narrates the landed value. Omitted from the wire when null/empty.final - valueMatched → bool?
-
set_text only: whether the read-back matched the request. A boolean —
never the value (it may be a PIN).
final
- verified → bool?
-
True when the verdict rests on an observation of the intended target;
false for a failure or a trusted (unverifiable) success.
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, dynamic> -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Methods
-
clipRequestedText(
String? s) → String? -
scut to kRequestedTextMax characters (null / blank → null).
Constants
- kRequestedTextMax → const int
- kType → const String