encode method

Implementation

String encode(VoteBodyParamsVoteDirEnum data) => data.value;