toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (cloudsqlConfigs != null) 'cloudsqlConfigs': cloudsqlConfigs!,
      if (consumerExportCustomRoutes != null)
        'consumerExportCustomRoutes': consumerExportCustomRoutes!,
      if (consumerExportSubnetRoutesWithPublicIp != null)
        'consumerExportSubnetRoutesWithPublicIp':
            consumerExportSubnetRoutesWithPublicIp!,
      if (consumerImportCustomRoutes != null)
        'consumerImportCustomRoutes': consumerImportCustomRoutes!,
      if (consumerImportSubnetRoutesWithPublicIp != null)
        'consumerImportSubnetRoutesWithPublicIp':
            consumerImportSubnetRoutesWithPublicIp!,
      if (producerExportCustomRoutes != null)
        'producerExportCustomRoutes': producerExportCustomRoutes!,
      if (producerExportSubnetRoutesWithPublicIp != null)
        'producerExportSubnetRoutesWithPublicIp':
            producerExportSubnetRoutesWithPublicIp!,
      if (producerImportCustomRoutes != null)
        'producerImportCustomRoutes': producerImportCustomRoutes!,
      if (producerImportSubnetRoutesWithPublicIp != null)
        'producerImportSubnetRoutesWithPublicIp':
            producerImportSubnetRoutesWithPublicIp!,
      if (producerNetwork != null) 'producerNetwork': producerNetwork!,
      if (reservedRanges != null) 'reservedRanges': reservedRanges!,
      if (usedIpRanges != null) 'usedIpRanges': usedIpRanges!,
      if (vpcScReferenceArchitectureEnabled != null)
        'vpcScReferenceArchitectureEnabled':
            vpcScReferenceArchitectureEnabled!,
    };