toJson method
Implementation
Map<String, dynamic> toJson() {
final directoryName = this.directoryName;
final dnsName = this.dnsName;
final ediPartyName = this.ediPartyName;
final ipAddress = this.ipAddress;
final otherName = this.otherName;
final registeredId = this.registeredId;
final rfc822Name = this.rfc822Name;
final uniformResourceIdentifier = this.uniformResourceIdentifier;
return {
if (directoryName != null) 'DirectoryName': directoryName,
if (dnsName != null) 'DnsName': dnsName,
if (ediPartyName != null) 'EdiPartyName': ediPartyName,
if (ipAddress != null) 'IpAddress': ipAddress,
if (otherName != null) 'OtherName': otherName,
if (registeredId != null) 'RegisteredId': registeredId,
if (rfc822Name != null) 'Rfc822Name': rfc822Name,
if (uniformResourceIdentifier != null)
'UniformResourceIdentifier': uniformResourceIdentifier,
};
}