YKFailure<T> constructor

const YKFailure<T>({
  1. required YKNetworkException exception,
  2. int? statusCode,
  3. RetryContext? retryContext,
  4. int retryCount = 0,
})

Implementation

const YKFailure({
  required this.exception,
  this.statusCode,
  this.retryContext,
  this.retryCount = 0,
});