toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (devicePolicy != null) 'devicePolicy': devicePolicy!,
      if (ipSubnetworks != null) 'ipSubnetworks': ipSubnetworks!,
      if (members != null) 'members': members!,
      if (negate != null) 'negate': negate!,
      if (regions != null) 'regions': regions!,
      if (requiredAccessLevels != null)
        'requiredAccessLevels': requiredAccessLevels!,
      if (vpcNetworkSources != null) 'vpcNetworkSources': vpcNetworkSources!,
    };