copyWith abstract method

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

Returns a shallow copy of this ServerHealthMetric with some or all fields replaced by the given arguments.

Implementation

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