copyWith method
Implementation
SingleHostAddr copyWith({
int? port,
Ipv4? ipv4,
Ipv6? ipv6,
}) {
return SingleHostAddr(
port: port ?? this.port,
ipv4: ipv4 ?? this.ipv4,
ipv6: ipv6 ?? this.ipv6);
}
SingleHostAddr copyWith({
int? port,
Ipv4? ipv4,
Ipv6? ipv6,
}) {
return SingleHostAddr(
port: port ?? this.port,
ipv4: ipv4 ?? this.ipv4,
ipv6: ipv6 ?? this.ipv6);
}