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