FalkonClientConfig constructor

const FalkonClientConfig({
  1. required String baseUrl,
  2. Map<String, String> defaultHeaders = const {'Content-Type' : 'application/json; charset=utf-8'},
  3. Duration timeout = const Duration(seconds: 30),
  4. int maxRetries = 0,
  5. List<Interceptor> interceptors = const [],
  6. bool parseErrorBodies = false,
})

Implementation

const FalkonClientConfig({
  required this.baseUrl,
  this.defaultHeaders = const {'Content-Type': 'application/json; charset=utf-8'},
  this.timeout = const Duration(seconds: 30),
  this.maxRetries = 0,
  this.interceptors = const [],
  this.parseErrorBodies = false,
});