copyWith method

AppResourceMonitoringConfig copyWith({
  1. bool? cpu,
  2. bool? memory,
  3. bool? fps,
  4. bool? network,
  5. bool? disk,
  6. bool? http,
  7. Duration? interval,
  8. int? movingAverageWindow,
})

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,
  );
}