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