UrlConnection constructor

UrlConnection({
  1. String? url,
  2. String? username,
  3. String? password,
  4. int? priority,
  5. UrlConnection_OnlineStatus? onlineStatus,
  6. UrlConnection_AuthenticationStatus? authenticationStatus,
})

Implementation

factory UrlConnection({
  $core.String? url,
  $core.String? username,
  $core.String? password,
  $core.int? priority,
  UrlConnection_OnlineStatus? onlineStatus,
  UrlConnection_AuthenticationStatus? authenticationStatus,
}) {
  final $result = create();
  if (url != null) {
    $result.url = url;
  }
  if (username != null) {
    $result.username = username;
  }
  if (password != null) {
    $result.password = password;
  }
  if (priority != null) {
    $result.priority = priority;
  }
  if (onlineStatus != null) {
    $result.onlineStatus = onlineStatus;
  }
  if (authenticationStatus != null) {
    $result.authenticationStatus = authenticationStatus;
  }
  return $result;
}