NetworkActivityData constructor

NetworkActivityData({
  1. required bool isSuccess,
  2. required String uuid,
  3. required String method,
  4. required String url,
  5. required Map<String, String> requestHeaders,
  6. dynamic requestBody,
  7. int? status,
  8. Map<String, String>? responseHeaders,
  9. dynamic responseBody,
  10. int? tookMs,
  11. int? requestStartedAtMillis,
  12. String? errorType,
  13. String? errorMessage,
  14. String? traceId,
  15. String? clientSpanId,
  16. String? traceFlags,
  17. String? traceContextSource,
})

Implementation

NetworkActivityData({
  required this.isSuccess,
  required this.uuid,
  required this.method,
  required this.url,
  required this.requestHeaders,
  this.requestBody,
  this.status,
  this.responseHeaders,
  this.responseBody,
  this.tookMs,
  this.requestStartedAtMillis,
  this.errorType,
  this.errorMessage,
  this.traceId,
  this.clientSpanId,
  this.traceFlags,
  this.traceContextSource,
});