copyWith method
Monitor
copyWith({
- int? id,
- String? url,
- String? scheme,
- String? host,
- String? path,
- String? query,
- String? protocol,
- String? method,
- String? requestHeaders,
- String? requestBody,
- String? requestContentType,
- int? requestContentLength,
- int? requestDate,
- String? responseHeaders,
- String? responseBody,
- String? responseContentType,
- int? responseContentLength,
- int? responseDate,
- String? responseTlsVersion,
- String? responseCipherSuite,
- int? responseCode,
- String? responseMessage,
- String? error,
- String? curl,
- String? source,
- int? outerId,
Implementation
Monitor copyWith({
int? id,
String? url,
String? scheme,
String? host,
String? path,
String? query,
String? protocol,
String? method,
String? requestHeaders,
String? requestBody,
String? requestContentType,
int? requestContentLength,
int? requestDate,
String? responseHeaders,
String? responseBody,
String? responseContentType,
int? responseContentLength,
int? responseDate,
String? responseTlsVersion,
String? responseCipherSuite,
int? responseCode,
String? responseMessage,
String? error,
String? curl,
String? source,
int? outerId
}) {
return Monitor(
id: id ?? this.id,
url: url ?? this.url,
scheme: scheme ?? this.scheme,
host: host ?? this.host,
path: path ?? this.path,
query: query ?? this.query,
protocol: protocol ?? this.protocol,
method: method ?? this.method,
requestHeaders: requestHeaders ?? this.requestHeaders,
requestBody: requestBody ?? this.requestBody,
requestContentType: requestContentType ?? this.requestContentType,
requestContentLength: requestContentLength ?? this.requestContentLength,
requestDate: requestDate ?? this.requestDate,
responseHeaders: responseHeaders ?? this.responseHeaders,
responseBody: responseBody ?? this.responseBody,
responseContentType: responseContentType ?? this.responseContentType,
responseContentLength:
responseContentLength ?? this.responseContentLength,
responseDate: responseDate ?? this.responseDate,
responseTlsVersion: responseTlsVersion ?? this.responseTlsVersion,
responseCipherSuite: responseCipherSuite ?? this.responseCipherSuite,
responseCode: responseCode ?? this.responseCode,
responseMessage: responseMessage ?? this.responseMessage,
error: error ?? this.error,
curl: curl ?? this.curl,
source: source??this.source,
outerId: outerId??this.outerId
);
}