CustomDioOptions constructor
CustomDioOptions({
- Map<
String, String> ? headers, - bool isProductionMode = true,
- bool followRedirects = true,
- String? errorPath,
- required String baseUrl,
- HttpClientAdapter? adapter,
- List<
Interceptor> interceptorsList = const [], - int sendTimeout = 15000,
- int receiveTimeout = 15000,
- int connectTimeout = 15000,
- bool logAllData = false,
Implementation
CustomDioOptions({
this.headers,
this.isProductionMode = true,
this.followRedirects = true,
this.errorPath,
required this.baseUrl,
this.adapter,
this.interceptorsList = const [],
this.sendTimeout = 15000,
this.receiveTimeout = 15000,
this.connectTimeout = 15000,
this.logAllData = false,
});