toJson method

Map<String, dynamic> toJson()

Implementation

Map<String, dynamic> toJson() {
  final availabilityZones = this.availabilityZones;
  final canonicalHostedZoneId = this.canonicalHostedZoneId;
  final createdTime = this.createdTime;
  final dNSName = this.dNSName;
  final ipAddressType = this.ipAddressType;
  final scheme = this.scheme;
  final securityGroups = this.securityGroups;
  final state = this.state;
  final type = this.type;
  final vpcId = this.vpcId;
  return {
    if (availabilityZones != null) 'AvailabilityZones': availabilityZones,
    if (canonicalHostedZoneId != null)
      'CanonicalHostedZoneId': canonicalHostedZoneId,
    if (createdTime != null) 'CreatedTime': createdTime,
    if (dNSName != null) 'DNSName': dNSName,
    if (ipAddressType != null) 'IpAddressType': ipAddressType,
    if (scheme != null) 'Scheme': scheme,
    if (securityGroups != null) 'SecurityGroups': securityGroups,
    if (state != null) 'State': state,
    if (type != null) 'Type': type,
    if (vpcId != null) 'VpcId': vpcId,
  };
}