FindCandidatesResponseMessage class

Frontend → Backend.

Constructors

FindCandidatesResponseMessage({required String missionId, required int stepIndex, required String needle, required String screen, required List<Map<String, Object?>> candidates, required DateTime timestamp, String? failureReason})
const
FindCandidatesResponseMessage.fromJson(Map<String, dynamic> json)
factory

Properties

candidates → List<Map<String, Object?>>
Top-N candidates the SDK collected, winner first.
final
failureReason → String?
Set when the SDK couldn't run the search at all (empty needle, no snapshot, …).
final
hashCode → int
The hash code for this object.
no setterinherited
missionId → String
final
needle → String
What the planner asked the SDK to find — useful for the follow-up turn so the LLM has the original query in context.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
screen → String
final
stepIndex → int
final
timestamp → DateTime
final
type → String
no setter

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

Constants

kType → const String