toJson method

Map<String, dynamic> toJson()

Implementation

Map<String, dynamic> toJson() {
  final domainName = this.domainName;
  final hostedZoneId = this.hostedZoneId;
  return {
    if (domainName != null) 'DomainName': domainName,
    if (hostedZoneId != null) 'HostedZoneId': hostedZoneId,
  };
}