ServerConfig constructor

ServerConfig({
  1. InternetAddress? ip,
  2. int? port,
})

Implementation

ServerConfig({
  InternetAddress? ip,
  int? port,
}) {
  this.ip = ip ?? InternetAddress.anyIPv4;
  this.port = port ?? defaultServerPort;
}