copyWith method
Implementation
ChartRuntimePerformancePolicy copyWith({
int? largeDatasetPointThreshold,
double? cachePressureWarningThreshold,
double? lowRenderCacheHitRateThreshold,
int? lowRenderCacheMinRequests,
}) {
return ChartRuntimePerformancePolicy(
largeDatasetPointThreshold:
largeDatasetPointThreshold ?? this.largeDatasetPointThreshold,
cachePressureWarningThreshold:
cachePressureWarningThreshold ?? this.cachePressureWarningThreshold,
lowRenderCacheHitRateThreshold:
lowRenderCacheHitRateThreshold ?? this.lowRenderCacheHitRateThreshold,
lowRenderCacheMinRequests:
lowRenderCacheMinRequests ?? this.lowRenderCacheMinRequests,
);
}