copyWith method

DomainSpec copyWith({
  1. String? domain,
  2. String? type,
  3. String? zone,
  4. String? minimumTlsVersion,
})

Implementation

DomainSpec copyWith({
  String? domain,
  String? type,
  String? zone,
  String? minimumTlsVersion,
}) {
  return DomainSpec(
    domain: domain ?? this.domain,
    type: type ?? this.type,
    zone: zone ?? this.zone,
    minimumTlsVersion: minimumTlsVersion ?? this.minimumTlsVersion,
  );
}