toJson method
Implementation
Map<String, dynamic> toJson() {
final availabilityZones = this.availabilityZones;
final backendServerDescriptions = this.backendServerDescriptions;
final canonicalHostedZoneName = this.canonicalHostedZoneName;
final canonicalHostedZoneNameID = this.canonicalHostedZoneNameID;
final createdTime = this.createdTime;
final dnsName = this.dnsName;
final healthCheck = this.healthCheck;
final instances = this.instances;
final listenerDescriptions = this.listenerDescriptions;
final loadBalancerAttributes = this.loadBalancerAttributes;
final loadBalancerName = this.loadBalancerName;
final policies = this.policies;
final scheme = this.scheme;
final securityGroups = this.securityGroups;
final sourceSecurityGroup = this.sourceSecurityGroup;
final subnets = this.subnets;
final vpcId = this.vpcId;
return {
if (availabilityZones != null) 'AvailabilityZones': availabilityZones,
if (backendServerDescriptions != null)
'BackendServerDescriptions': backendServerDescriptions,
if (canonicalHostedZoneName != null)
'CanonicalHostedZoneName': canonicalHostedZoneName,
if (canonicalHostedZoneNameID != null)
'CanonicalHostedZoneNameID': canonicalHostedZoneNameID,
if (createdTime != null) 'CreatedTime': createdTime,
if (dnsName != null) 'DnsName': dnsName,
if (healthCheck != null) 'HealthCheck': healthCheck,
if (instances != null) 'Instances': instances,
if (listenerDescriptions != null)
'ListenerDescriptions': listenerDescriptions,
if (loadBalancerAttributes != null)
'LoadBalancerAttributes': loadBalancerAttributes,
if (loadBalancerName != null) 'LoadBalancerName': loadBalancerName,
if (policies != null) 'Policies': policies,
if (scheme != null) 'Scheme': scheme,
if (securityGroups != null) 'SecurityGroups': securityGroups,
if (sourceSecurityGroup != null)
'SourceSecurityGroup': sourceSecurityGroup,
if (subnets != null) 'Subnets': subnets,
if (vpcId != null) 'VpcId': vpcId,
};
}