toJson method
Implementation
Map<String, dynamic> toJson() {
final domainName = this.domainName;
final resourceRecord = this.resourceRecord;
final validationDomain = this.validationDomain;
final validationEmails = this.validationEmails;
final validationMethod = this.validationMethod;
final validationStatus = this.validationStatus;
return {
if (domainName != null) 'DomainName': domainName,
if (resourceRecord != null) 'ResourceRecord': resourceRecord,
if (validationDomain != null) 'ValidationDomain': validationDomain,
if (validationEmails != null) 'ValidationEmails': validationEmails,
if (validationMethod != null) 'ValidationMethod': validationMethod,
if (validationStatus != null) 'ValidationStatus': validationStatus,
};
}