copyWith method
Implementation
ImageSourceSpec copyWith({
String? registry,
String? registryType,
String? repository,
String? tag,
bool? autoDeploy,
}) {
return ImageSourceSpec(
registry: registry ?? this.registry,
registryType: registryType ?? this.registryType,
repository: repository ?? this.repository,
tag: tag ?? this.tag,
autoDeploy: autoDeploy ?? this.autoDeploy,
);
}