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