encode method

int encode(
  1. QuestionWhenSave data
)

Implementation

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