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