copyWith method
CallCacheModel
copyWith({
- String? data,
- String? path,
- String? uri,
- String? queryParameters,
- String? method,
- String? baseUrl,
- String? connectTimeout,
- String? contentType,
- String? extra,
- String? followRedirects,
- String? listFormat,
- String? receiveTimeout,
- String? responseType,
- String? headers,
- String? validateStatus,
- String? isCompleted,
- String? date,
- String? response,
- String? statusCode,
- String? eventMessage,
- String? startDate,
- String? endDate,
- String? totalSent,
- String? totalReceived,
- int? order,
Implementation
CallCacheModel copyWith({
String? data,
String? path,
String? uri,
String? queryParameters,
String? method,
String? baseUrl,
String? connectTimeout,
String? contentType,
String? extra,
String? followRedirects,
String? listFormat,
String? receiveTimeout,
String? responseType,
String? headers,
String? validateStatus,
String? isCompleted,
String? date,
String? response,
String? statusCode,
String? eventMessage,
String? startDate,
String? endDate,
String? totalSent,
String? totalReceived,
int? order,
}) {
return CallCacheModel(
data: data ?? this.data,
path: path ?? this.path,
uri: uri ?? this.uri,
queryParameters: queryParameters ?? this.queryParameters,
method: method ?? this.method,
baseUrl: baseUrl ?? this.baseUrl,
connectTimeout: connectTimeout ?? this.connectTimeout,
contentType: contentType ?? this.contentType,
extra: extra ?? this.extra,
followRedirects: followRedirects ?? this.followRedirects,
listFormat: listFormat ?? this.listFormat,
receiveTimeout: receiveTimeout ?? this.receiveTimeout,
responseType: responseType ?? this.responseType,
headers: headers ?? this.headers,
validateStatus: validateStatus ?? this.validateStatus,
isCompleted: isCompleted ?? this.isCompleted,
response: response ?? this.response,
statusCode: statusCode ?? this.statusCode,
eventMessage: eventMessage ?? this.eventMessage,
startDate: startDate ?? this.startDate,
endDate: endDate ?? this.endDate,
totalSent: totalSent ?? this.totalSent,
totalReceived: totalReceived ?? this.totalReceived,
order: order ?? this.order,
);
}