failedStep property
int?
get
failedStep
The 1-based index of the call that ended the run.
Implementation
int? get failedStep {
for (final step in steps) {
if (step.error != null) return step.index;
}
return null;
}