HttpProfileResponseData constructor Null safety

HttpProfileResponseData(
  1. {required int startTime,
  2. int? endTime,
  3. required Map<String, dynamic> headers,
  4. required String compressionState,
  5. required Map<String, dynamic>? connectionInfo,
  6. required int contentLength,
  7. required List<String> cookies,
  8. required bool isRedirect,
  9. required bool persistentConnection,
  10. required String reasonPhrase,
  11. required List<Map<String, dynamic>> redirects,
  12. required int statusCode,
  13. String? error}
)

Implementation

HttpProfileResponseData({
  required this.startTime,
  this.endTime,
  required this.headers,
  required this.compressionState,
  required this.connectionInfo,
  required this.contentLength,
  required this.cookies,
  required this.isRedirect,
  required this.persistentConnection,
  required this.reasonPhrase,
  required this.redirects,
  required this.statusCode,
  this.error,
});