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