failureReason property

Object? failureReason
final

What the latest failed attempt threw, kept while retries continue. null once an attempt succeeds or a new run starts.

Implementation

final Object? failureReason;