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