toJson method
Implementation
Map<String, dynamic> toJson() {
final json = <String, dynamic>{};
json[r'domain'] = this.domain;
json[r'version'] = this.version;
json[r'policy'] = this.policy;
if (this.subdomainPolicy != null) {
json[r'subdomainPolicy'] = this.subdomainPolicy;
} else {
json[r'subdomainPolicy'] = null;
}
json[r'reportEmailAddress'] = this.reportEmailAddress;
json[r'forensicEmailAddress'] = this.forensicEmailAddress;
if (this.percentage != null) {
json[r'percentage'] = this.percentage;
} else {
json[r'percentage'] = null;
}
if (this.reportFormat != null) {
json[r'reportFormat'] = this.reportFormat;
} else {
json[r'reportFormat'] = null;
}
if (this.secondsBetweenReports != null) {
json[r'secondsBetweenReports'] = this.secondsBetweenReports;
} else {
json[r'secondsBetweenReports'] = null;
}
if (this.adkim != null) {
json[r'adkim'] = this.adkim;
} else {
json[r'adkim'] = null;
}
if (this.aspf != null) {
json[r'aspf'] = this.aspf;
} else {
json[r'aspf'] = null;
}
if (this.fo != null) {
json[r'fo'] = this.fo;
} else {
json[r'fo'] = null;
}
return json;
}