encode method

Implementation

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