NetworkLogEntry constructor

NetworkLogEntry({
  1. required String id,
  2. required DateTime timestamp,
  3. required String method,
  4. required String url,
  5. Map<String, dynamic>? requestHeaders,
  6. dynamic requestBody,
  7. int? statusCode,
  8. Map<String, dynamic>? responseHeaders,
  9. dynamic responseBody,
  10. Duration? duration,
  11. String? error,
  12. bool isCompleted = false,
})

Implementation

NetworkLogEntry({
  required this.id,
  required this.timestamp,
  required this.method,
  required this.url,
  this.requestHeaders,
  this.requestBody,
  this.statusCode,
  this.responseHeaders,
  this.responseBody,
  this.duration,
  this.error,
  this.isCompleted = false,
});