toJson method
Implementation
Map<String, dynamic> toJson() {
final address = this.address;
final hostedZoneId = this.hostedZoneId;
final port = this.port;
return {
if (address != null) 'Address': address,
if (hostedZoneId != null) 'HostedZoneId': hostedZoneId,
if (port != null) 'Port': port,
};
}