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