copyWith abstract method

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

Implementation

@_i1.useResult
ServerHealthResult copyWith({
  List<_i2.ServerHealthMetric>? metrics,
  List<_i3.ServerHealthConnectionInfo>? connectionInfos,
});