Parse from a json
factory ProxyTypeSocks5.fromJson(Map<String, dynamic> json) => ProxyTypeSocks5( username: json['username'], password: json['password'], );