DioExceptionHandlerModel constructor

DioExceptionHandlerModel({
  1. bool? connectionTimeout(
    1. DioException exception
    )?,
  2. bool? sendTimeout(
    1. DioException exception
    )?,
  3. bool? receiveTimeout(
    1. DioException exception
    )?,
  4. bool? badCertificate(
    1. DioException exception
    )?,
  5. bool? badResponse(
    1. DioException exception
    )?,
  6. bool? cancel(
    1. DioException exception
    )?,
  7. bool? connectionError(
    1. DioException exception
    )?,
  8. bool? unknown(
    1. DioException exception
    )?,
  9. ExceptionExplanationModel? connectionTimeoutModel,
  10. ExceptionExplanationModel? sendTimeoutModel,
  11. ExceptionExplanationModel? receiveTimeoutModel,
  12. ExceptionExplanationModel? badCertificateModel,
  13. ExceptionExplanationModel? badResponseModel,
  14. ExceptionExplanationModel? cancelModel,
  15. ExceptionExplanationModel? connectionErrorModel,
  16. ExceptionExplanationModel? unknownModel,
})

Implementation

DioExceptionHandlerModel({
  this.connectionTimeout,
  this.sendTimeout,
  this.receiveTimeout,
  this.badCertificate,
  this.badResponse,
  this.cancel,
  this.connectionError,
  this.unknown,
  this.connectionTimeoutModel,
  this.sendTimeoutModel,
  this.receiveTimeoutModel,
  this.badCertificateModel,
  this.badResponseModel,
  this.cancelModel,
  this.connectionErrorModel,
  this.unknownModel,
});