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