NetworkConfig constructor

NetworkConfig({
  1. String? fqdn,
  2. String? bindAddress,
  3. String? tlsCertFile,
  4. String? tlsKeyFile,
  5. SessionsConfig? sessions,
})

Implementation

factory NetworkConfig({
  $core.String? fqdn,
  $core.String? bindAddress,
  $core.String? tlsCertFile,
  $core.String? tlsKeyFile,
  SessionsConfig? sessions,
}) {
  final $result = create();
  if (fqdn != null) {
    $result.fqdn = fqdn;
  }
  if (bindAddress != null) {
    $result.bindAddress = bindAddress;
  }
  if (tlsCertFile != null) {
    $result.tlsCertFile = tlsCertFile;
  }
  if (tlsKeyFile != null) {
    $result.tlsKeyFile = tlsKeyFile;
  }
  if (sessions != null) {
    $result.sessions = sessions;
  }
  return $result;
}