toJson method

Map<String, dynamic> toJson()

Implementation

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