toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (destIpRanges != null) 'destIpRanges': destIpRanges!,
      if (destPorts != null) 'destPorts': destPorts!,
      if (ipProtocols != null) 'ipProtocols': ipProtocols!,
      if (srcAsns != null) 'srcAsns': srcAsns!,
      if (srcIpRanges != null) 'srcIpRanges': srcIpRanges!,
      if (srcPorts != null) 'srcPorts': srcPorts!,
      if (srcRegionCodes != null) 'srcRegionCodes': srcRegionCodes!,
      if (userDefinedFields != null) 'userDefinedFields': userDefinedFields!,
    };