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