ServerConfig constructor
ServerConfig({
- ServerType? type,
- String? hostname,
- int? port,
- SocketType? socketType,
- Authentication? authentication,
- UsernameType? usernameType,
Implementation
ServerConfig(
{this.type,
this.hostname,
this.port,
this.socketType,
this.authentication,
this.usernameType}) {
if (usernameType != null) {
_username = _usernameTypeToText(usernameType);
}
}