HttpProfileRequestData.buildSuccessfulRequest constructor
Null safety
Implementation
HttpProfileRequestData.buildSuccessfulRequest({
required Map<String, dynamic> headers,
required Map<String, dynamic>? connectionInfo,
required int contentLength,
required List<String> cookies,
required bool followRedirects,
required int maxRedirects,
required String method,
required bool persistentConnection,
required this.events,
this.proxyDetails,
}) : _headers = headers,
_connectionInfo = connectionInfo,
_contentLength = contentLength,
_cookies = cookies,
_followRedirects = followRedirects,
_maxRedirects = maxRedirects,
_method = method,
_persistentConnection = persistentConnection,
error = null;