ProxyAuth.fromJson constructor
Creates a ProxyAuth from a JSON map
Implementation
factory ProxyAuth.fromJson(Map<String, dynamic> json) {
return ProxyAuth(
username: json['username'] as String,
password: json['password'] as String,
method: ProxyAuthMethod.values[json['method'] as int],
domain: json['domain'] as String?,
);
}