toJson method Null safety

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (instances != null) 'instances': instances!,
      if (siteToSiteDataTransfer != null)
        'siteToSiteDataTransfer': siteToSiteDataTransfer!,
      if (vpcNetwork != null) 'vpcNetwork': vpcNetwork!,
    };