BloomNetworkTrace constructor

BloomNetworkTrace({
  1. required String id,
  2. required String method,
  3. required String url,
  4. Map<String, String> headers = const {},
  5. dynamic body,
  6. required DateTime timestamp,
  7. int? statusCode,
  8. dynamic responseBody,
  9. Duration? latency,
  10. String? error,
  11. bool isReplay = false,
  12. String? originalTraceId,
})

Creates a BloomNetworkTrace record.

Implementation

BloomNetworkTrace({
  required this.id,
  required this.method,
  required this.url,
  this.headers = const {},
  this.body,
  required this.timestamp,
  this.statusCode,
  this.responseBody,
  this.latency,
  this.error,
  this.isReplay = false,
  this.originalTraceId,
});