RequestApiHelperConfigData constructor
RequestApiHelperConfigData({
- Redirects? authErrorRedirect,
- Future? beforeSend,
- String? errorMessage,
- bool? exception,
- bool? logResponse,
- String? noapiurl,
- dynamic onCompleteRawRespose(
- dynamic data
- dynamic onError(
- int code,
- dynamic data
- dynamic onException(
- Object e
- dynamic onSocket()?,
- dynamic onSuccess(
- dynamic response
- dynamic onTimeout()?,
- String? socketMessage,
- Redirects? socketRedirect,
- String? successMessage,
- Duration? timeout,
- String? timeoutMessage,
- Redirects? timeoutRedirect,
- String? url,
- String? version,
- 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,
});