encode method

Implementation

int encode(CommentQuestionResultsRenderingType data) => data.value;