copyWith method
ProxyAuth
copyWith({
- String? username,
- String? password,
- ProxyAuthMethod? method,
- String? domain,
Creates a copy of this ProxyAuth with the given parameters
Implementation
ProxyAuth copyWith({
String? username,
String? password,
ProxyAuthMethod? method,
String? domain,
}) {
return ProxyAuth(
username: username ?? this.username,
password: password ?? this.password,
method: method ?? this.method,
domain: domain ?? this.domain,
);
}