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