LogEntry constructor

LogEntry({
  1. required String requestMethod,
  2. required Uri requestUri,
  3. Map<String, dynamic>? requestHeaders,
  4. dynamic requestBody,
  5. int? statusCode,
  6. Map<String, dynamic>? responseHeaders,
  7. dynamic responseBody,
  8. required DateTime timestamp,
  9. String? error,
})

Implementation

LogEntry({
  required this.requestMethod,
  required this.requestUri,
  this.requestHeaders,
  this.requestBody,
  this.statusCode,
  this.responseHeaders,
  this.responseBody,
  required this.timestamp,
  this.error,
});