YKFailure<T> constructor
const
YKFailure<T> ({
- required YKNetworkException exception,
- int? statusCode,
- RetryContext? retryContext,
- int retryCount = 0,
Implementation
const YKFailure({
required this.exception,
this.statusCode,
this.retryContext,
this.retryCount = 0,
});