RequestApiHelperConfigData constructor

RequestApiHelperConfigData({
  1. Redirects? authErrorRedirect,
  2. Future? beforeSend,
  3. String? errorMessage,
  4. bool? exception,
  5. bool? logResponse,
  6. String? noapiurl,
  7. dynamic onCompleteRawRespose(
    1. dynamic data
    )?,
  8. dynamic onError(
    1. int code,
    2. dynamic data
    )?,
  9. dynamic onException(
    1. Object e
    )?,
  10. dynamic onSocket(
    1. SocketException
    )?,
  11. dynamic onSuccess(
    1. dynamic response
    )?,
  12. dynamic onTimeout(
    1. TimeoutException
    )?,
  13. String? socketMessage,
  14. Redirects? socketRedirect,
  15. String? successMessage,
  16. Duration? timeout,
  17. String? timeoutMessage,
  18. Redirects? timeoutRedirect,
  19. String? url,
  20. String? version,
  21. Redirects? withLoading,
})

Implementation

RequestApiHelperConfigData({
  this.authErrorRedirect,
  this.beforeSend,
  this.errorMessage,
  this.exception,
  this.logResponse,
  this.noapiurl,
  this.onCompleteRawRespose,
  this.onError,
  this.onException,
  this.onSocket,
  this.onSuccess,
  this.onTimeout,
  this.socketMessage,
  this.socketRedirect,
  this.successMessage,
  this.timeout,
  this.timeoutMessage,
  this.timeoutRedirect,
  this.url,
  this.version,
  this.withLoading,
});