RetryContext constructor

const RetryContext({
  1. required int attempt,
  2. required RetryReason reason,
  3. required bool isProcedure,
  4. required bool isAmbiguous,
  5. String? nsid,
  6. int? statusCode,
  7. Object? error,
  8. Duration? retryAfter,
})

Returns the new instance of RetryContext.

Implementation

const RetryContext({
  required this.attempt,
  required this.reason,
  required this.isProcedure,
  required this.isAmbiguous,
  this.nsid,
  this.statusCode,
  this.error,
  this.retryAfter,
});