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