toJson method
Implementation
Map<String, dynamic> toJson() {
final json = <String, dynamic>{};
if (this.name != null) {
json[r'name'] = this.name;
} else {
json[r'name'] = null;
}
if (this.proxyUrl != null) {
json[r'proxy_url'] = this.proxyUrl;
} else {
json[r'proxy_url'] = null;
}
if (this.isSecondary != null) {
json[r'is_secondary'] = this.isSecondary;
} else {
json[r'is_secondary'] = null;
}
return json;
}