encode method

int encode(
  1. VoteStyle data
)

Implementation

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