HttpOptional constructor
HttpOptional({
- String? url,
- HttpMethod? method,
- Map<
String, Object> ? headers, - UserAgentDevice? userAgent,
- HttpResponseType? responseType,
- Object? payload,
- bool usePassedProxy = false,
- HttpPayload? payloadType,
- 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);