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