copyWith abstract method

ServerHealthMetric copyWith({
  1. int? id,
  2. String? name,
  3. String? serverId,
  4. DateTime? timestamp,
  5. bool? isHealthy,
  6. double? value,
  7. int? granularity,
})

Implementation

ServerHealthMetric copyWith({
  int? id,
  String? name,
  String? serverId,
  DateTime? timestamp,
  bool? isHealthy,
  double? value,
  int? granularity,
});