toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (excludeExportRanges != null)
        'excludeExportRanges': excludeExportRanges!,
      if (includeExportRanges != null)
        'includeExportRanges': includeExportRanges!,
      if (network != null) 'network': network!,
      if (peering != null) 'peering': peering!,
      if (producerNetwork != null) 'producerNetwork': producerNetwork!,
      if (proposedIncludeExportRanges != null)
        'proposedIncludeExportRanges': proposedIncludeExportRanges!,
      if (serviceConsumerVpcSpoke != null)
        'serviceConsumerVpcSpoke': serviceConsumerVpcSpoke!,
    };