copyWith method
Implementation
AppResourceMonitoringConfig copyWith({
bool? cpu,
bool? memory,
bool? fps,
bool? network,
bool? disk,
bool? http,
Duration? interval,
int? movingAverageWindow,
}) {
return AppResourceMonitoringConfig(
cpu: cpu ?? this.cpu,
memory: memory ?? this.memory,
fps: fps ?? this.fps,
network: network ?? this.network,
disk: disk ?? this.disk,
http: http ?? this.http,
interval: interval ?? this.interval,
movingAverageWindow: movingAverageWindow ?? this.movingAverageWindow,
);
}