SocketInfo constructor

const SocketInfo({
  1. required InternetAddress address,
  2. required int port,
})

A const constructor.

Implementation

const SocketInfo({required this.address, required this.port});