RetryException.fromAttempt constructor Null safety

RetryException.fromAttempt(
  1. int attempts
)

Implementation

RetryException.fromAttempt(this.attempts);