HttpOptional constructor

HttpOptional({
  1. String? url,
  2. HttpMethod? method,
  3. Map<String, Object>? headers,
  4. UserAgentDevice? userAgent,
  5. HttpResponseType? responseType,
  6. Object? payload,
  7. bool usePassedProxy = false,
  8. HttpPayload? payloadType,
  9. bool cacheResponse = false,
})

Implementation

HttpOptional({
  super.url,
  super.method,
  super.headers,
  super.userAgent,
  super.responseType,
  Object? payload,
  super.usePassedProxy,
  super.payloadType,
  super.cacheResponse,
}) : super(payLoad: payload);