toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (accessLevels != null) 'accessLevels': accessLevels!,
      if (egressPolicies != null) 'egressPolicies': egressPolicies!,
      if (ingressPolicies != null) 'ingressPolicies': ingressPolicies!,
      if (resources != null) 'resources': resources!,
      if (restrictedServices != null)
        'restrictedServices': restrictedServices!,
      if (vpcAccessibleServices != null)
        'vpcAccessibleServices': vpcAccessibleServices!,
    };