RequestApiHelperData constructor

RequestApiHelperData({
  1. String? baseUrl,
  2. Map<String, dynamic>? body,
  3. bool bodyIsJson = false,
  4. Map<String, String>? header,
  5. dynamic onSuccess(
    1. dynamic
    )?,
  6. bool? debug,
  7. GlobalKey<NavigatorState>? navigatorKey,
  8. FileData? file,
  9. dynamic onAuthError(
    1. BuildContext
    )?,
  10. dynamic onError(
    1. Response
    )?,
  11. Duration? timeout,
  12. dynamic onTimeout(
    1. Response
    )?,
})

Implementation

RequestApiHelperData({
  this.baseUrl,
  this.body,
  this.bodyIsJson = false,
  this.header,
  this.onSuccess,
  this.debug,
  this.navigatorKey,
  this.file,
  this.onAuthError,
  this.onError,
  this.timeout,
  this.onTimeout,
});