copyWith method
- InternetAddress? address,
- int? port,
A copy of this configuration, to avoid modifying the original.
Implementation
SocketInfo copyWith({InternetAddress? address, int? port}) => SocketInfo(
address: address ?? this.address,
port: port ?? this.port,
);