WhoAgentCallbacks class

Callbacks for agent state changes

Constructors

WhoAgentCallbacks({required dynamic onAgentReady(int agentId, String agentName), required dynamic onError(String message), required dynamic onStateChanged(AgentState state), required dynamic onCountdownUpdate(int remainingSeconds)})
const

Properties

hashCode int
The hash code for this object.
no setterinherited
onAgentReady → dynamic Function(int agentId, String agentName)
final
onCountdownUpdate → dynamic Function(int remainingSeconds)
final
onError → dynamic Function(String message)
final
onStateChanged → dynamic Function(AgentState state)
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 ==(Object other) bool
The equality operator.
inherited