ServerConfig constructor

ServerConfig({
  1. String? hostServerAddress,
  2. ServerTLSConfigServerBasedAuthentication? tls,
  3. ServerTLSConfigMutualAuthentication? mutualTls,
})

Implementation

factory ServerConfig({
  $core.String? hostServerAddress,
  ServerTLSConfigServerBasedAuthentication? tls,
  ServerTLSConfigMutualAuthentication? mutualTls,
}) {
  final $result = create();
  if (hostServerAddress != null) {
    $result.hostServerAddress = hostServerAddress;
  }
  if (tls != null) {
    $result.tls = tls;
  }
  if (mutualTls != null) {
    $result.mutualTls = mutualTls;
  }
  return $result;
}