HttpProfileRequestData.buildErrorRequest constructor Null safety

HttpProfileRequestData.buildErrorRequest(
  1. {required String? error,
  2. required List<HttpProfileRequestEvent> events}
)

Implementation

HttpProfileRequestData.buildErrorRequest({
  required this.error,
  required this.events,
})  : _connectionInfo = null,
      _contentLength = null,
      _cookies = [],
      _followRedirects = null,
      _headers = null,
      _maxRedirects = null,
      _method = null,
      _persistentConnection = null,
      proxyDetails = null;