failure property
AgentRunStep?
get
failure
The first call that was refused or failed, if any.
Implementation
AgentRunStep? get failure {
for (final step in _steps) {
if (step.error != null) return step;
}
return null;
}