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