toJson method

Map<String, dynamic> toJson()

Implementation

Map<String, dynamic> toJson() {
  final json = <String, dynamic>{};
    json[r'reportingAddresses'] = this.reportingAddresses;
  if (this.reportingUrl != null) {
    json[r'reportingUrl'] = this.reportingUrl;
  } else {
    json[r'reportingUrl'] = null;
  }
    json[r'host'] = this.host;
    json[r'version'] = this.version;
    json[r'ttl'] = this.ttl;
  return json;
}