NetworkRequestContext constructor
NetworkRequestContext({
- required String method,
- required int statusCode,
- required String url,
- String? fragments,
- String? host,
- String? schema,
- String? statusText,
- int? responseContentLength,
- int duration = 0,
- Map<
String, String> ? requestHeaders, - Map<
String, String> ? responseHeaders, - String? requestPayload,
- 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,
});