NetworkConfigurationCopyWith extension

Extension on NetworkConfiguration to enable easy immutability.

Use copyWith to create a new configuration based on the current one but with specific fields modified.

on

Methods

copyWith({List<NetworkTarget>? targets, BigInt? checkIntervalMs, BigInt? cacheValidityMs, QualityThresholds? qualityThreshold, SecurityConfig? security, ResilienceConfig? resilience}) NetworkConfiguration

Available on NetworkConfiguration, provided by the NetworkConfigurationCopyWith extension

Creates a copy of the current configuration with updated fields.