RequestSettings<I> constructor

const RequestSettings<I>({
  1. Map<String, dynamic> defaultHeaders = const {},
  2. String defaultBaseUrl = '',
  3. int defaultTimeoutInSeconds = 10,
  4. Iterable<I> defaultInterceptors = const [],
  5. void logPrint(
    1. Object obj
    )?,
  6. void exceptionPrint(
    1. Object error,
    2. StackTrace trace
    )?,
})

Implementation

const RequestSettings({
  this.defaultHeaders = const {},
  this.defaultBaseUrl = '',
  this.defaultTimeoutInSeconds = 10,
  this.defaultInterceptors = const [],
  this.logPrint,
  this.exceptionPrint,
});