NetworkRequestContext constructor

NetworkRequestContext({
  1. required String method,
  2. required int statusCode,
  3. required String url,
  4. String? fragments,
  5. String? host,
  6. String? schema,
  7. String? statusText,
  8. int? responseContentLength,
  9. int duration = 0,
  10. Map<String, String>? requestHeaders,
  11. Map<String, String>? responseHeaders,
  12. String? requestPayload,
  13. String? responsePayload,
})

Implementation

NetworkRequestContext({
  required this.method,
  required this.statusCode,
  required this.url,
  this.fragments,
  this.host,
  this.schema,
  this.statusText,
  this.responseContentLength,
  this.duration = 0,
  this.requestHeaders,
  this.responseHeaders,
  this.requestPayload,
  this.responsePayload,
});