toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
  if (autoTargetedFieldIds != null)
    'autoTargetedFieldIds': autoTargetedFieldIds!,
  if (customRules != null) 'customRules': customRules!,
  if (customValueFields != null) 'customValueFields': customValueFields!,
  if (proximityFilter != null) 'proximityFilter': proximityFilter!,
  if (remarketingValueAttributes != null)
    'remarketingValueAttributes': remarketingValueAttributes!,
  if (rotationType != null) 'rotationType': rotationType!,
  if (ruleType != null) 'ruleType': ruleType!,
  if (weightFieldId != null) 'weightFieldId': weightFieldId!,
};