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