UrlConnection constructor
UrlConnection({
- String? url,
- String? username,
- String? password,
- int? priority,
- UrlConnection_OnlineStatus? onlineStatus,
- 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;
}