YKNetworkingRequest constructor

YKNetworkingRequest({
  1. String baseUrl = '',
  2. String path = '',
  3. YKNetworkingMethod method = YKNetworkingMethod.get,
  4. Map<String, dynamic>? commheader,
  5. Map<String, dynamic>? params,
  6. dynamic progressCallBack(
    1. int count,
    2. int total
    )?,
  7. List<InterceptorRef> skipInterceptors = const [],
  8. CancelToken? cancelToken,
})

Implementation

YKNetworkingRequest({
  this.baseUrl = '',
  this.path = '',
  this.method = YKNetworkingMethod.get,
  this.commheader,
  this.params,
  this.progressCallBack,
  this.skipInterceptors = const [],
  this.cancelToken,
});