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