copyWith abstract method
      
  
ServerHealthResult
copyWith({ 
    
- List<ServerHealthMetric> ? metrics,
- List<ServerHealthConnectionInfo> ? connectionInfos,
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,
});